[GITEA] Fix typo in formatting error
- The `c` isn't suposse to be there, it's not a formatter. (cherry picked from commit94cac3b66f
) (cherry picked from commit07e05f262e
)
This commit is contained in:
parent
c831ff67e4
commit
e71b5a038e
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
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