diff options
author | Tyrone Yeh <tyrone_yeh@draytek.com> | 2022-08-03 12:56:59 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-03 12:56:59 +0800 |
commit | 7a31292c20b057d59889337b7cf7cb419400d6cb (patch) | |
tree | a7bd7426524d77ec2262d4dd1c6d5aa20d72c6e4 /templates/repo/issue | |
parent | 7baa7cb98f2fff18fb483d9fb11c414844af8898 (diff) | |
download | gitea-7a31292c20b057d59889337b7cf7cb419400d6cb.tar.gz gitea-7a31292c20b057d59889337b7cf7cb419400d6cb.zip |
Add default commit messages to PR for squash merge (#20618)
Keep the same behavior as 1.16
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
Diffstat (limited to 'templates/repo/issue')
-rw-r--r-- | templates/repo/issue/view_content/pull.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/issue/view_content/pull.tmpl b/templates/repo/issue/view_content/pull.tmpl index 59e0962d17..fd901f013e 100644 --- a/templates/repo/issue/view_content/pull.tmpl +++ b/templates/repo/issue/view_content/pull.tmpl @@ -395,7 +395,7 @@ 'allowed': {{$prUnit.PullRequestsConfig.AllowSquash}}, 'textDoMerge': {{$.locale.Tr "repo.pulls.squash_merge_pull_request"}}, 'mergeTitleFieldText': defaultSquashMergeTitle, - 'mergeMessageFieldText': defaultMergeMessage, + 'mergeMessageFieldText': {{.GetCommitMessages}} + defaultMergeMessage, 'hideAutoMerge': generalHideAutoMerge, }, { |