git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Adding a line after the signed-off git am -s

From
DLDaniel Lezcano <daniel.lezcano@linaro.org>
Date
Oct 16, 2019, 08:48 UTC
Message-ID
<c82cf831-a033-1ad9-139b-4cbc1eb3fb1d@linaro.org>
In-Reply-To
<8089dfce-0183-b7fb-cab8-0a71404b6584@drbeat.li>
On 16/10/2019 00:52, Beat Bolli wrote:
Show 27 quoted lines
> 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
Previous: Beat Bolli
Message 4 of 4 in “Adding a line after the signed-off git am -s”
  1. Daniel LezcanoOct 11, 2019
  2. Junio C HamanoOct 12, 2019
  3. Beat BolliOct 15, 2019
  4. Daniel LezcanoOct 16, 2019

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.