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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx
> Signed-off-by: commiter@xxxxxxxxxxxx
> 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



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux