git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Daniel Lezcano <daniel.lezcano@linaro.org>
To: Beat Bolli <dev+git@drbeat.li>, git@vger.kernel.org
Subject: Re: Adding a line after the signed-off git am -s
Date: Wed, 16 Oct 2019 10:48:33 +0200	[thread overview]
Message-ID: <c82cf831-a033-1ad9-139b-4cbc1eb3fb1d@linaro.org> (raw)
In-Reply-To: <8089dfce-0183-b7fb-cab8-0a71404b6584@drbeat.li>

On 16/10/2019 00:52, Beat Bolli wrote:
> On 11.10.19 16:43, Daniel Lezcano wrote:
>>
>> Hi all,
>>
>> Is there a way to specify a line to be added in the change-log after the
>> SOB with git-am ?
>>
>> I would like to do something:
>>
>> git am -s -l "Link: https://lore.kernel.org/r/<msgid>"
>>
>> Which will give:
>>
>> blabla
>>
>> Signed-off-by: author@kairnail.org
>> Signed-off-by: commiter@kairnail.org
>> Link: https://lore.kernel.org/r/<msgid>
>>
>> This way it is compatible with patchwork, git-pw, etc...
> 
> I think something like
> 
>     git interpret-trailer --trailer Link:https://lore.kernel.irg/r/msgid
> <patch | git am -
> 
> should work.

Thank you for the suggestion, I will try.

  -- Daniel


-- 
 <http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog


      reply	other threads:[~2019-10-16  8:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-11 14:43 Adding a line after the signed-off git am -s Daniel Lezcano
2019-10-12  1:03 ` Junio C Hamano
2019-10-15 22:52 ` Beat Bolli
2019-10-16  8:48   ` Daniel Lezcano [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c82cf831-a033-1ad9-139b-4cbc1eb3fb1d@linaro.org \
    --to=daniel.lezcano@linaro.org \
    --cc=dev+git@drbeat.li \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).