git-am: add --message-id/--no-message-id options
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 10 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | git-mailinfo: add --message-idDocumentation/ builtin/ t/ +3 more | +73 | 0 replies | |
| 2/2 | git-am: add --message-id/--no-message-idDocumentation/ git-am.sh t/ | +53 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] git-am: add --message-id/--no-message-id options
From: Paolo Bonzini <[email protected]>
This series adds a --message-id option to git-mailinfo and git-am. git-am also gets an am.messageid configuration key to set the default, and a --no-message-id option to override the configuration key. (I'm not sure of the usefulness of a mailinfo.messageid option, so I left it out; this follows the example of -k instead of --scissors).
This option can be useful in order to associate commit messages with mailing list discussions.
If both --message-id and -s are specified, the Signed-off-by goes last. This is coming out more or less naturally out of the git-am implementation, but is also tested in t4150-am.sh.
Paolo Bonzini (2):
git-mailinfo: add --message-id
git-am: add --message-id/--no-message-id
Documentation/git-am.txt | 11 +++++++++++ Documentation/git-mailinfo.txt | 5 +++++ builtin/mailinfo.c | 22 +++++++++++++++++++++- git-am.sh | 21 +++++++++++++++++++-- t/t4150-am.sh | 23 +++++++++++++++++++++++ t/t5100-mailinfo.sh | 4 ++++ t/t5100/info0012--message-id | 5 +++++ t/t5100/msg0012--message-id | 8 ++++++++ t/t5100/patch0012--message-id | 30 ++++++++++++++++++++++++++++++ 9 files changed, 126 insertions(+), 3 deletions(-) create mode 100644 t/t5100/info0012--message-id create mode 100644 t/t5100/msg0012--message-id create mode 100644 t/t5100/patch0012--message-id
Signature · 1 line
2.1.0