diff options
author | FermeLeLundi <fermelelundi@noreply.codeberg.org> | 2024-11-28 11:13:56 +0100 |
---|---|---|
committer | FermeLeLundi <fermelelundi@noreply.codeberg.org> | 2024-11-28 11:13:56 +0100 |
commit | decb673f28814ac0e7b0b0684df7516f7062a957 (patch) | |
tree | b1db6a0665b159e8e5356666ecb1890a61b680c0 /services | |
parent | Update services/context/csrf.go (diff) | |
download | forgejo-decb673f28814ac0e7b0b0684df7516f7062a957.tar.xz forgejo-decb673f28814ac0e7b0b0684df7516f7062a957.zip |
Update services/repository/branch.go
Typo
Diffstat (limited to 'services')
-rw-r--r-- | services/repository/branch.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/repository/branch.go b/services/repository/branch.go index 8d5df98f86..87fe03c12d 100644 --- a/services/repository/branch.go +++ b/services/repository/branch.go @@ -479,7 +479,7 @@ func DeleteBranch(ctx context.Context, doer *user_model.User, repo *repo_model.R return nil } -// DeleteBranchAfterMerge deletes the head branch after a PR was merged assiociated with the head branch. +// DeleteBranchAfterMerge deletes the head branch after a PR was merged associated with the head branch. func DeleteBranchAfterMerge(ctx context.Context, doer *user_model.User, pr *issues_model.PullRequest, headRepo *git.Repository) error { // Don't cleanup when there are other PR's that use this branch as head branch. exist, err := issues_model.HasUnmergedPullRequestsByHeadInfo(ctx, pr.HeadRepoID, pr.HeadBranch) |