You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/templates
Jimmy Praet 78118a3b02
Add checkbox to delete pull branch after successful merge (#16049)
* Add checkbox to delete pull branch after successful merge

* Omit DeleteBranchAfterMerge field in json

* Log a warning instead of error when PR head branch deleted

* Add DefaultDeleteBranchAfterMerge to PullRequestConfig

* Add support for delete_branch_after_merge via API

* Fix for API: the branch should be deleted from the HEAD repo

If head and base repo are the same, reuse the already opened ctx.Repo.GitRepo

* Don't delegate to CleanupBranch, only reuse branch deletion code

CleanupBranch contains too much logic that has already been performed by the Merge

* Reuse gitrepo in MergePullRequest

Co-authored-by: Andrew Thornton <art27@cantab.net>
4 years ago
..
admin Make allowed Visiblity modes configurable for Users (#16271) 4 years ago
base Add custom emoji support (#16004) 4 years ago
custom Add footer extra links template (#9576) 5 years ago
explore Issue sidebar and misc css fixes (#15524) 4 years ago
mail Fix invalid params and typo of email templates (#16394) 4 years ago
org Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 4 years ago
repo Add checkbox to delete pull branch after successful merge (#16049) 4 years ago
shared Remove branch URL before IssueRefURL (#15968) 4 years ago
status Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 4 years ago
swagger Add checkbox to delete pull branch after successful merge (#16049) 4 years ago
user Implemented head_commit for webhooks (#16282) 4 years ago
home.tmpl Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 4 years ago
install.tmpl Remove utf8 option from installation page (#16126) 4 years ago
post-install.tmpl Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 4 years ago