077160b838
Backport #24148 `repoCtx.CommitsCount` is not reliably the commit count of the default branch (Repository.GetCommitsCount depends on what is currently displayed). _contributed in the context of @forgejo_ --------- Co-authored-by: Giteabot <teabot@gitea.io> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: silverwind <me@silverwind.io>
8 lines
189 B
Bash
Executable file
8 lines
189 B
Bash
Executable file
#!/bin/sh
|
|
#
|
|
# An example hook script to prepare a packed repository for use over
|
|
# dumb transports.
|
|
#
|
|
# To enable this hook, rename this file to "post-update".
|
|
|
|
exec git update-server-info
|