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: [email protected]
> Signed-off-by: [email protected]
> 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