gitea/services/pull
Brecht Van Lommel d647e74502
Improve squash merge commit author and co-author with private emails (#22977)
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.
2023-03-09 22:17:04 -05:00
..
check_test.go
check.go
comment.go Fix pull request update showing too many commits with multiple branches (#22856) 2023-03-09 12:14:22 -06:00
commit_status.go
edits.go
lfs.go
main_test.go
merge_merge.go
merge_prepare.go Refactor merge/update git command calls (#23366) 2023-03-09 09:48:52 -06:00
merge_rebase.go
merge_squash.go Improve squash merge commit author and co-author with private emails (#22977) 2023-03-09 22:17:04 -05:00
merge_test.go
merge.go Refactor merge/update git command calls (#23366) 2023-03-09 09:48:52 -06:00
patch_unmerged.go
patch.go
pull_test.go
pull.go Improve squash merge commit author and co-author with private emails (#22977) 2023-03-09 22:17:04 -05:00
review.go
temp_repo.go
update_rebase.go
update.go