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:
commit
d7153aece8
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue