diff options
author | Junio C Hamano <gitster@pobox.com> | 2014-12-22 12:26:52 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-12-22 12:26:52 -0800 |
commit | fa7f51d53385ee64858a415f817d6b8485197405 (patch) | |
tree | 717d8b54cfd65705a67dcd4511849f6311555d2f /Documentation | |
parent | Merge branch 'mh/simplify-repack-without-refs' (diff) | |
parent | git-am: add --message-id/--no-message-id (diff) | |
download | tgif-fa7f51d53385ee64858a415f817d6b8485197405.tar.xz |
Merge branch 'pb/am-message-id-footer'
"git am" learned "--message-id" option to copy the message ID of
the incoming e-mail to the log message of resulting commit.
* pb/am-message-id-footer:
git-am: add --message-id/--no-message-id
git-mailinfo: add --message-id
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/git-am.txt | 11 | ||||
-rw-r--r-- | Documentation/git-mailinfo.txt | 5 |
2 files changed, 16 insertions, 0 deletions
diff --git a/Documentation/git-am.txt b/Documentation/git-am.txt index 9adce372ec..cfb74bcf0b 100644 --- a/Documentation/git-am.txt +++ b/Documentation/git-am.txt @@ -57,6 +57,17 @@ OPTIONS --no-scissors:: Ignore scissors lines (see linkgit:git-mailinfo[1]). +-m:: +--message-id:: + Pass the `-m` flag to 'git mailinfo' (see linkgit:git-mailinfo[1]), + so that the Message-ID header is added to the commit message. + The `am.messageid` configuration variable can be used to specify + the default behaviour. + +--no-message-id:: + Do not add the Message-ID header to the commit message. + `no-message-id` is useful to override `am.messageid`. + -q:: --quiet:: Be quiet. Only print error messages. diff --git a/Documentation/git-mailinfo.txt b/Documentation/git-mailinfo.txt index 164a3c6ede..0947084140 100644 --- a/Documentation/git-mailinfo.txt +++ b/Documentation/git-mailinfo.txt @@ -66,6 +66,11 @@ conversion, even with this flag. -n:: Disable all charset re-coding of the metadata. +-m:: +--message-id:: + Copy the Message-ID header at the end of the commit message. This + is useful in order to associate commits with mailing list discussions. + --scissors:: Remove everything in body before a scissors line. A line that mainly consists of scissors (either ">8" or "8<") and perforation |