forgejo/services/pull
Mura Li 09304db9a5
Use the text of pull-request as the squash commit's message (#13071)
Originally, it was filled by the commit messages of the involved
commits. In this change, we use the headline comment of the pull
request as the commit message when it is a squash merge.

Thanks to @zeripath for suggesting the idea.

Fixes #12365

Co-authored-by: Mura Li <typeless@users.noreply.github.com>
2020-12-21 17:46:14 +01:00
..
check.go [Enhancement] Allow admin to merge pr with protected file changes (#12078) 2020-10-13 14:50:57 -04:00
check_test.go
commit_status.go [Refactor] CombinedStatus and CommitStatus related functions & structs (#14026) 2020-12-18 11:33:32 +08:00
lfs.go
main_test.go
merge.go Fix Pull Merge when tag with same name as base branch exist (#13882) 2020-12-08 02:46:50 +01:00
patch.go [Enhancement] Allow admin to merge pr with protected file changes (#12078) 2020-10-13 14:50:57 -04:00
pull.go Use the text of pull-request as the squash commit's message (#13071) 2020-12-21 17:46:14 +01:00
pull_test.go
review.go Fix correct diff view for PR review comments in PR view page (#14002) 2020-12-16 11:54:58 +02:00
temp_repo.go
update.go