From: Fabian Ruch Date: Wed, 02 Jul 2014 14:18:12 GMT Subject: Re: [PATCH v2] git-am: add option to extract email Message-Id: tag into commit log Message-ID: <53B414A4.2060909@gmail.com> In-Reply-To: <1404291113-4424-1-git-send-email-avi@cloudius-systems.com> Hi Avi, On 07/02/2014 10:51 AM, Avi Kivity wrote: > Some workflows prefer to track exactly which email message was used to > generate a commit. This can be used, for example, to generate an > automated acknowledgement when a patch is committed as a response to > the patch email, or as a reference to the thread which introduced the > patch. > > Support this by adding a --message-id option (abbreviated as -m) to > git-am, which will then extract the message ID and append it to the > email commit log. > > Signed-off-by: Avi Kivity > --- > > v2: adjust to pass test suite (t5100) > > Documentation/git-am.txt | 6 ++++++ > builtin/mailinfo.c | 2 +- > git-am.sh | 10 +++++++++- > t/t5100/info0004 | 1 + > t/t5100/info0005 | 1 + > t/t5100/info0012 | 1 + > 6 files changed, 19 insertions(+), 2 deletions(-) > > diff --git a/Documentation/git-am.txt b/Documentation/git-am.txt > index 9adce37..8a251a1 100644 > --- a/Documentation/git-am.txt > +++ b/Documentation/git-am.txt > @@ -15,6 +15,7 @@ SYNOPSIS > [--whitespace=