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:
parent
574ff84967
commit
6ffa454979
2 changed files with 9 additions and 2 deletions
|
@ -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])
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue