Skip to content

Comments

Always honor user's choice for "delete branch after merge"#36281

Merged
wxiaoguang merged 1 commit intogo-gitea:mainfrom
wxiaoguang:fix-delete-after-merge
Jan 3, 2026
Merged

Always honor user's choice for "delete branch after merge"#36281
wxiaoguang merged 1 commit intogo-gitea:mainfrom
wxiaoguang:fix-delete-after-merge

Conversation

@wxiaoguang
Copy link
Contributor

Fix #36280

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Jan 2, 2026
@wxiaoguang wxiaoguang changed the title Always honor user's choice for "delete after merge" Always honor user's choice for "delete branch after merge" Jan 2, 2026
@github-actions github-actions bot added the modifies/go Pull requests that update Go code label Jan 2, 2026
@GiteaBot GiteaBot added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Jan 2, 2026
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Jan 3, 2026
@wxiaoguang wxiaoguang merged commit 6fb3547 into go-gitea:main Jan 3, 2026
24 checks passed
@GiteaBot GiteaBot added this to the 1.26.0 milestone Jan 3, 2026
@wxiaoguang wxiaoguang deleted the fix-delete-after-merge branch January 3, 2026 02:36
@GiteaBot GiteaBot added the backport/done All backports for this PR have been created label Jan 3, 2026
wxiaoguang added a commit that referenced this pull request Jan 3, 2026
…36286)

Backport #36281 by wxiaoguang

Fix #36280

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
zjjhot added a commit to zjjhot/gitea that referenced this pull request Jan 5, 2026
* giteaofficial/main:
  Move assign project when creating pull request to the same database transaction (go-gitea#36244)
  [skip ci] Updated translations via Crowdin
  Fix stats bug when syncing release (go-gitea#36285)
  Fix link/origin referrer and login redirect (go-gitea#36279)
  Always honor user's choice for "delete branch after merge" (go-gitea#36281)
  refactor(pprof): use explicit mux instead of DefaultServeMux (go-gitea#36276)
  improve the compare page (go-gitea#36261)
  mailer: pass request context to generateAdditionalHeadersForIssue (go-gitea#36274)
  feat(debian): use explicit, stronger defaults for newly generated repo signing keys (go-gitea#36236)
  Make "commit statuses" API accept slashes in "ref" (go-gitea#36264)

# Conflicts:
#	templates/base/footer_content.tmpl
#	templates/base/head_navbar.tmpl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport/done All backports for this PR have been created backport/v1.25 lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. modifies/go Pull requests that update Go code type/bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

after PR, source branch is always deleted (if "delete by default" is set in settings, but "delete branch" in PR unchecked)

4 participants