[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <xmqq4m625fax.fsf@gitster.mtv.corp.google.com>
Date: Tue, 30 Aug 2016 10:37:10 -0700
From: Junio C Hamano <gitster@...ox.com>
To: Joe Perches <joe@...ches.com>
Cc: git <git@...r.kernel.org>, LKML <linux-kernel@...r.kernel.org>
Subject: Re: git am and duplicate signatures
Joe Perches <joe@...ches.com> writes:
> (adding lkml)
>
> On Tue, 2016-08-30 at 09:54 -0700, Junio C Hamano wrote:
>> Joe Perches <joe@...ches.com> writes:
>> > git-am -s will avoid duplicating the last signature
>> > in a patch.
>> >
>> > But given a developer creates a patch, send it around for
>> > acks/other signoffs, collects signatures and then does
>> > a git am -s on a different branch, this sort of sign-off
>> > chain is possible:
>> >
>> > Signed-off-by: Original Developer <od@...ain.com>
>> > Acked-by: Random Developer <rd@...ain.com>
>> > Signed-off-by: Original Developer <od@...ain.com>
>> Both correct and allowing the earlier one duplicated as long as
>> there is somebody/something else in between is deliberate.
>
> linux-kernel has a script (scripts/checkpatch.pl) that
> looks for duplicate signatures (<foo>-by: [name] <address>)
>
> Should the last Signed-off-by: in the commit log be
> excluded from this check?
That is left for the kernel folks to decide, but excluding only "the
last" does not make much sense to me. If you look for only "two
consecutive same signatures" and barf, that would be in line with
what we have been shooting for to support the above "original then
random then back to original" example you gave us above.
Powered by blists - more mailing lists