Set author name and email for suggested changes
Problem to solve
Authorship is different to being the committer, since the same commit may be cherry picked, or rewritten, resulting in a different commit, but the content contained by the commit was authored by a different person at a different time. Suggestions made and applied through the merge request do not include this information and credit the person who clicked Apply with authorship. This is misleading and obscures the provenance of the code.
Correctly crediting the authorship of a change is important for good commit hygiene.
Further details
GitLab already supports this through the commits API, so it should be relatively simple to add.
Proposal
When a suggested change is applied it should use the person who suggested it as the author name/email field in the git commit.
Edited by James Ramsay (ex-GitLab)