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
Beat Bolli <dev+git@drbeat.li>
Date
Oct 15, 2019, 22:52 UTC
Message-ID
<8089dfce-0183-b7fb-cab8-0a71404b6584@drbeat.li>
In-Reply-To
<6797ef7d-5444-4c77-59e6-1d78fd3ccb0c@linaro.org>
On 11.10.19 16:43, Daniel Lezcano wrote:
Show 19 quoted lines
> 
> 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.

Cheers, Beat

Previous: Junio C HamanoNext: Daniel Lezcano
Message 3 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.