1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-09-15 18:56:59 +00:00

Partial revert "Do not report warning when git shows new reference (#6540)"

This reverts commit af5d96e2cc.

Except for the test case because

Fix mirror bug (#33224)

implements it now.
This commit is contained in:
Earl Warren 2025-01-19 10:00:06 +01:00
parent 574ff84967
commit 6ffa454979
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
2 changed files with 9 additions and 2 deletions

View file

@ -187,7 +187,6 @@ func parseRemoteUpdateOutput(output, remoteName string) []*mirrorSyncResult {
newCommitID: shas[1],
})
case strings.HasPrefix(lines[i], " * [new ref]"): // new reference - nothing to do
default:
log.Warn("parseRemoteUpdateOutput: unexpected update line %q", lines[i])
}