On Thu, 13 Jul 2023, Jeff Law via Gcc-patches wrote: > > Question for the experts: how is this handled? Do I need to apply this > > change to my workspace and commit it, with Mikael as the change author? > That's what I usually do for someone without write access. commit it locally > using the --author flag, then push.
FWIW `git am' taking the e-mail containing a change on stdin is I believe the most straightforward way, as long as the submission has been properly formatted. The command automatically sets the author correctly, picking the `From:' entry from the e-mail headers or the first line of the e-mail body as appropriate, sets the author date from the `Date:' header, picks up the contents of the `Subject:' header as the change heading and the body of the e-mail sans any `From:' entry as the change description, and strips any discussion between the non-commit delimiter (`--') and the patch itself. The command was designed for maintainers to import changes submitted by e-mail so it does what expected. Any issues with an imported change can then be addressed with `git commit --amend', etc. HTH, Maciej