Needless to say, I've never done this before.
_______________________________________________
LLVM Developers mailing list
llvm...@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
The current practice is to use `git commit --amend --author=....`
https://llvm.org/docs/DeveloperPolicy.html#commit-messages
There should be no `Patch by`.
Personally I use `git commit --amend --date=now` to reset the author date to commit date.
The author dates most just serve as a confusion source.
Many things can change between when the author asked you to commit and
when you push the commit, so last-minute testing is important.
When committing on behalf of others (new contributors), it is common
that the messages need to be adjusted.
"Differential Revision: " is important. It makes the commit connect to
the Differential and closes the Differential automatically.
If you use arc, arc patch Dxxxxx can download the Differential.
If the author supplied authorship, then you don't need --amend --author.
If you don't use arc, https://reviews.llvm.org/settings/user/$user/page/apitokens/ can give a CLI token.
curl https://reviews.llvm.org/api/differential.getrawdiff -d api.token=cli-.... -d diffID=xxxxxx (currently the number is larger than 320000; you can get the ID in "Revision Contents - History")
can download the raw diff.