diff --git a/services/repository/branch.go b/services/repository/branch.go index 88a6d73d9..d7ac25b7c 100644 --- a/services/repository/branch.go +++ b/services/repository/branch.go @@ -365,7 +365,7 @@ func DeleteBranch(ctx context.Context, doer *user_model.User, repo *repo_model.R rawBranch, err := git_model.GetBranch(ctx, repo.ID, branchName) if err != nil { - return fmt.Errorf("GetBranch: %vc", err) + return fmt.Errorf("GetBranch: %v", err) } objectFormat, err := gitRepo.GetObjectFormat()