Merge pull request '[GITEA] Fix typo in formatting error' (#2219) from gusted/forgejo-typo-error into forgejo-dependency

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/2219
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
This commit is contained in:
Gusted 2024-01-23 19:34:34 +00:00
commit d7153aece8

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) rawBranch, err := git_model.GetBranch(ctx, repo.ID, branchName)
if err != nil { if err != nil {
return fmt.Errorf("GetBranch: %vc", err) return fmt.Errorf("GetBranch: %v", err)
} }
objectFormat, err := gitRepo.GetObjectFormat() objectFormat, err := gitRepo.GetObjectFormat()