diff options
author | Brecht Van Lommel <brecht@blender.org> | 2023-03-10 04:17:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-09 22:17:04 -0500 |
commit | d647e74502fdf734c89b3e6592a9ad88c3005971 (patch) | |
tree | 5c7c2fbd84bb95c7fffd277ccbddc4382617a597 /tests | |
parent | 0141d1667d4d0e98124c11e179928a42ffe6ab1a (diff) | |
download | gitea-d647e74502fdf734c89b3e6592a9ad88c3005971.tar.gz gitea-d647e74502fdf734c89b3e6592a9ad88c3005971.zip |
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.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions