1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-25 08:59:31 -05:00

Fix format error (#27963)

This commit is contained in:
Lunny Xiao 2023-11-08 21:50:20 +08:00 committed by GitHub
parent f48a863b99
commit 69d98f83f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -850,7 +850,7 @@ func getRefName(ctx *Base, repo *Repository, pathType RepoRefType) string {
return getRefNameFromPath(ctx, repo, path, func(s string) bool { return getRefNameFromPath(ctx, repo, path, func(s string) bool {
b, exist, err := git_model.FindRenamedBranch(ctx, repo.Repository.ID, s) b, exist, err := git_model.FindRenamedBranch(ctx, repo.Repository.ID, s)
if err != nil { if err != nil {
log.Error("FindRenamedBranch", err) log.Error("FindRenamedBranch: %v", err)
return false return false
} }