From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH v2] git-am: add option to extract email Message-Id: tag into commit log Date: Wed, 02 Jul 2014 17:44:20 +0300 Message-ID: <53B41AC4.5000308@cloudius-systems.com> References: <1404291113-4424-1-git-send-email-avi@cloudius-systems.com> <53B414A4.2060909@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit To: Fabian Ruch , git@vger.kernel.org X-From: git-owner@vger.kernel.org Wed Jul 02 16:50:22 2014 Return-path: Envelope-to: gcvg-git-2@plane.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1X2Lra-0006p5-3r for gcvg-git-2@plane.gmane.org; Wed, 02 Jul 2014 16:50:22 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752091AbaGBOuP (ORCPT ); Wed, 2 Jul 2014 10:50:15 -0400 Received: from mail-wg0-f46.google.com ([74.125.82.46]:60235 "EHLO mail-wg0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750880AbaGBOuO (ORCPT ); Wed, 2 Jul 2014 10:50:14 -0400 Received: by mail-wg0-f46.google.com with SMTP id y10so11316147wgg.17 for ; Wed, 02 Jul 2014 07:50:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=UuNpl/EkXu46FyFnibZ+yl+g773hR0O2GH6D+/VgPd0=; b=D+FecARi6AJvVxSJXO+cJBqZgNaJYRKFU0/+bynXPv2kEYSfIOzGaaGW9dvA3L7TIR nm7hXkE86FmVMR8ACXvoR0kMJbKO6YbVoNa3Y+v25INTsZgirM2QOzJAu76Fbz9mQCK6 UpWk/Xke6w/ECK7AUYe07nxEp7gk80A8TPs8+fF6YS4wPjwKnTRnedsZRG3bChL1q/4j OzAtXtvGGl+UgN6nkly7jLEm5xj08Yojvv6fNFkWd/96TqJeWaxSGAY8x3fqLFJPIcoG UuDPUsVGM+Tm7wORorzm5T5XA243QSgaQx+Fo7t+EkmW2K/1MEUQq3hGlvxGDw5PcX+q sr1w== X-Gm-Message-State: ALoCoQkCM2f4yrI0LobNeNq8AiIxjBe41GyYFuDwmQf6IJEmXEuKxEDIFnQx8do9V2kSmF1r0GDn X-Received: by 10.180.37.230 with SMTP id b6mr4827674wik.47.1404312262887; Wed, 02 Jul 2014 07:44:22 -0700 (PDT) Received: from avi.cloudius (84.94.198.183.cable.012.net.il. [84.94.198.183]) by mx.google.com with ESMTPSA id ey16sm55896038wid.14.2014.07.02.07.44.21 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 02 Jul 2014 07:44:22 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 In-Reply-To: <53B414A4.2060909@gmail.com> Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: On 07/02/2014 05:18 PM, Fabian Ruch wrote: > 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=