On Thu, Mar 31, 2016 at 4:32 PM, Jeff King <p...@peff.net> wrote:
> On Thu, Mar 31, 2016 at 02:35:07PM +0200, Miklos Vajna wrote:
>
>> Hi,
>>
>> Some projects like LibreOffice don't use Signed-off-by, instead usually
>> use Gerrit for code review, and reviewers add a Reviewed-by line when
>> they are OK with a patch.  In this workflow it's a bit unfortunate that
>> adding a Signed-off-by line is just a command-line switch, but adding a
>> Reviewed-by line is more complex.
>>
>> Is there anything in git that could help this situation? I didn't see
>> any related config option; I wonder if a patch would be accepted to make
>> the "Signed-off-by" line configurable, or there is a better way.
>
> There's git-interpret-trailers, which can do the heavy lifting of adding
> it in the right place. But I don't know how you'd want to trigger it; it
> would depend on the workflow that people use to add their signoff in the
> first place.  I don't think there is anything as easy as "git commit
> --amend -s", but I'm not all that familiar with the interpret-trailers
> code.

The plan was to make it possible for many commands, like commit,
cherry-pick, am, and so on, to accept "--trailer ..." options and to
pass them to interpret-trailers that would process them. I remember
starting working on that and sending some patches at one point...
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to