forked from mirror/gitea
d647e74502
When emails addresses are private, squash merges always use `@noreply.localhost` for the author of the squash commit. And the author is redundantly added as a co-author in the commit message. Also without private mails, the redundant co-author is possible when committing with a signature that's different than the user full name and primary email. Now try to find a commit by the same user in the list of commits, and prefer the signature from that over one constructed from the account settings. |
||
---|---|---|
.. | ||
check_test.go | ||
check.go | ||
comment.go | ||
commit_status.go | ||
edits.go | ||
lfs.go | ||
main_test.go | ||
merge_merge.go | ||
merge_prepare.go | ||
merge_rebase.go | ||
merge_squash.go | ||
merge_test.go | ||
merge.go | ||
patch_unmerged.go | ||
patch.go | ||
pull_test.go | ||
pull.go | ||
review.go | ||
temp_repo.go | ||
update_rebase.go | ||
update.go |