gitea/options/locale
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>
2021-07-13 01:26:25 +02:00
..
locale_bg-BG.ini [skip ci] Updated translations via Crowdin 2021-06-29 00:29:44 +00:00
locale_cs-CZ.ini [skip ci] Updated translations via Crowdin 2021-06-29 00:29:44 +00:00
locale_de-DE.ini [skip ci] Updated translations via Crowdin 2021-07-12 00:24:54 +00:00
locale_en-US.ini Add checkbox to delete pull branch after successful merge (#16049) 2021-07-13 01:26:25 +02:00
locale_es-ES.ini [skip ci] Updated translations via Crowdin 2021-07-12 00:24:54 +00:00
locale_fa-IR.ini [skip ci] Updated translations via Crowdin 2021-06-29 00:29:44 +00:00
locale_fi-FI.ini [skip ci] Updated translations via Crowdin 2021-06-29 00:29:44 +00:00
locale_fr-FR.ini [skip ci] Updated translations via Crowdin 2021-06-29 00:29:44 +00:00
locale_hu-HU.ini [skip ci] Updated translations via Crowdin 2021-06-29 00:29:44 +00:00
locale_id-ID.ini [skip ci] Updated translations via Crowdin 2021-06-29 00:29:44 +00:00
locale_it-IT.ini [skip ci] Updated translations via Crowdin 2021-06-29 00:29:44 +00:00
locale_ja-JP.ini [skip ci] Updated translations via Crowdin 2021-07-12 00:24:54 +00:00
locale_ko-KR.ini [skip ci] Updated translations via Crowdin 2021-06-29 00:29:44 +00:00
locale_lv-LV.ini [skip ci] Updated translations via Crowdin 2021-06-29 00:29:44 +00:00
locale_ml-IN.ini [skip ci] Updated translations via Crowdin 2021-06-29 00:29:44 +00:00
locale_nl-NL.ini [skip ci] Updated translations via Crowdin 2021-06-29 00:29:44 +00:00
locale_pl-PL.ini [skip ci] Updated translations via Crowdin 2021-06-29 00:29:44 +00:00
locale_pt-BR.ini [skip ci] Updated translations via Crowdin 2021-06-29 00:29:44 +00:00
locale_pt-PT.ini [skip ci] Updated translations via Crowdin 2021-07-12 00:24:54 +00:00
locale_ru-RU.ini [skip ci] Updated translations via Crowdin 2021-06-29 00:29:44 +00:00
locale_sr-SP.ini [skip ci] Updated translations via Crowdin 2021-06-29 00:29:44 +00:00
locale_sv-SE.ini [skip ci] Updated translations via Crowdin 2021-06-29 00:29:44 +00:00
locale_tr-TR.ini [skip ci] Updated translations via Crowdin 2021-06-29 00:29:44 +00:00
locale_uk-UA.ini [skip ci] Updated translations via Crowdin 2021-06-29 00:29:44 +00:00
locale_zh-CN.ini [skip ci] Updated translations via Crowdin 2021-06-29 00:29:44 +00:00
locale_zh-HK.ini [skip ci] Updated translations via Crowdin 2021-06-29 00:29:44 +00:00
locale_zh-TW.ini [skip ci] Updated translations via Crowdin 2021-07-12 00:24:54 +00:00
TRANSLATORS European Portuguese translation (#11568) 2020-06-05 09:07:56 +01:00