Sync branches when mirroring (#25722)

Caused by #22743

---------

Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
This commit is contained in:
Lunny XiaoandKN4CK3R authored and GitHub committed 2023-07-06 13:18:37 +02:00
1 parent d17a848fe2
commit 45ac90eb54
2 files changed
+5 -1

No files matched your search

-1
View File
@@ -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 {