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