We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d76291 commit ec760fdCopy full SHA for ec760fd
cmd/gitmirror/gitmirror.go
@@ -1077,7 +1077,12 @@ func (r *Repo) fetch() (err error) {
1077
})
1078
}
1079
1080
-// push runs "git push -f --mirror dest" in the repository root.
+// push effectively runs "git push -f --mirror dest" in the repository
1081
+// root, but does things in smaller batches of refs, to work around
1082
+// performance problems we saw in the past. (They might have been
1083
+// fixed by later version of git; they seemed to only affect the HTTP
1084
+// transport, but not ssh)
1085
+//
1086
// It tries three times, just in case it failed because of a transient error.
1087
func (r *Repo) push() (err error) {
1088
n := 0
0 commit comments