[GITEA] Fix typo in formatting error

- The `c` isn't suposse to be there, it's not a formatter.
This commit is contained in:
Gusted 2024-01-22 21:59:07 +01:00
parent aca2ae2390
commit 94cac3b66f
No known key found for this signature in database
GPG key ID: FD821B732837125F

View file

@ -368,7 +368,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()