diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2014-11-25 17:00:55 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-11-26 02:24:55 +0300 |
commit | 452dfbed1a80754bfdc52567d9d9dba08a7d0a6d (patch) | |
tree | 8b5721349d426b698699aea091f7fcca532a89eb /t/t5100-mailinfo.sh | |
parent | 652e759330da379a8e09e03bbf99e03c10c228cc (diff) |
git-mailinfo: add --message-id
This option adds the content of the Message-Id header at the end of the
commit message prepared by git-mailinfo. This is useful in order to
associate commit messages automatically with mailing list discussions.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5100-mailinfo.sh')
-rwxr-xr-x | t/t5100-mailinfo.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/t/t5100-mailinfo.sh b/t/t5100-mailinfo.sh index 9e1ad1ca21..60df10f46a 100755 --- a/t/t5100-mailinfo.sh +++ b/t/t5100-mailinfo.sh @@ -35,6 +35,10 @@ do then check_mailinfo $mail --no-inbody-headers fi + if test -f "$TEST_DIRECTORY"/t5100/msg$mail--message-id + then + check_mailinfo $mail --message-id + fi ' done |