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

2019-10-11 Thread Daniel Lezcano


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/"

Which will give:

blabla

Signed-off-by: aut...@kairnail.org
Signed-off-by: commi...@kairnail.org
Link: https://lore.kernel.org/r/

This way it is compatible with patchwork, git-pw, etc...

Thanks in advance

-- 
  Linaro.org │ Open source software for ARM SoCs

Follow Linaro:   Facebook |
 Twitter |
 Blog



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

2019-10-16 Thread Daniel Lezcano
On 16/10/2019 00:52, Beat Bolli wrote:
> 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/"
>>
>> Which will give:
>>
>> blabla
>>
>> Signed-off-by: aut...@kairnail.org
>> Signed-off-by: commi...@kairnail.org
>> Link: https://lore.kernel.org/r/
>>
>> 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
>  
> should work.

Thank you for the suggestion, I will try.

  -- Daniel


-- 
 <http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog