Re: [PATCH v3 0/4] Optimization batch 12: miscellaneous unthemed stuff

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

 



On Fri, Jun 4, 2021 at 8:48 AM Elijah Newren <newren@xxxxxxxxx> wrote:
>
> On Fri, Jun 4, 2021 at 6:11 AM Derrick Stolee <stolee@xxxxxxxxx> wrote:
> >
> > On 6/4/2021 12:39 AM, Elijah Newren via GitGitGadget wrote:

> > >  * Added Stolee's Acked-by
> > ...
> > >  1:  c4a0f6a9510c ! 1:  f63ffc2a7c22 merge-ort: replace string_list_df_name_compare with faster alternative
> > >      @@ Commit message
> > >               just-one-mega:   500.3  ms ±  3.8  ms   480.1  ms ±  3.9  ms
> > >
> > >           Signed-off-by: Elijah Newren <newren@xxxxxxxxx>
> > >      +    Acked-by: Derrick Stolee <dstolee@xxxxxxxxxxxxx>
> >
> > I believe the sign-off should always be the last thing in
> > the message. Perhaps Junio is willing to fix this without a
> > re-roll?
>
> Interesting, this is the first I've ever heard of such a requirement,
> and I've submitted patches this way numerous times and have seen
> others do it.  A quick search through git.git history says there are
> 5133 commits that place such trailers before the author's
> Signed-off-by, and 1175 that place them after.  While the former is

Sorry, there was a bug in my script, found while running it on the
linux kernel (where the Signed-off-by stuff came from) to see if it
was different.  The corrected numbers are:

Author Signed-off-by comes after all non-Signed-off-by trailers: 2990
non-Signed-off-by trailers follow the Author's Signed-off-by line: 3069

So, this suggests it's even less of a rule.  For those curious, the
Linux kernel has these numbers:

Author Signed-off-by comes after all non-Signed-off-by trailers: 83530
non-Signed-off-by trailers follow the Author's Signed-off-by line: 199778

> ...
> So, if "Signed-off-by should come last" is a rule, then neither
> existing practice nor our documentation seem to cover it.  I'll assume
> it's not a rule for now.




[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