summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2023-07-06 19:18:37 +0800
committerGitHub <noreply@github.com>2023-07-06 13:18:37 +0200
commit45ac90eb54d9f6b6877f68ebd0d84ebd12de170f (patch)
tree815bfc7e62560c2158564096b26acf5704c0d942 /modules
parentd17a848fe275c3e8734a4dfcaf2eae8ca0dc361c (diff)
downloadgitea-45ac90eb54d9f6b6877f68ebd0d84ebd12de170f.tar.gz
gitea-45ac90eb54d9f6b6877f68ebd0d84ebd12de170f.zip
Sync branches when mirroring (#25722)
Caused by #22743 --------- Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
Diffstat (limited to 'modules')
-rw-r--r--modules/git/git.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/git/git.go b/modules/git/git.go
index f78a496d53..c9d174e118 100644
--- a/modules/git/git.go
+++ b/modules/git/git.go
@@ -188,7 +188,6 @@ func InitFull(ctx context.Context) (err error) {
if CheckGitVersionAtLeast("2.9") == nil {
globalCommandArgs = append(globalCommandArgs, "-c", "credential.helper=")
}
-
SupportProcReceive = CheckGitVersionAtLeast("2.29") == nil
if setting.LFS.StartServer {