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: aut...@kairnail.org
> Signed-off-by: commi...@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

Reply via email to