* The authorship of each patch in a series
@ 2021-09-02 7:13 Fabio M. De Francesco
2021-09-02 7:22 ` Greg KH
0 siblings, 1 reply; 3+ messages in thread
From: Fabio M. De Francesco @ 2021-09-02 7:13 UTC (permalink / raw)
To: kernelnewbies
Hi all,
Another developer and I collaborated to design and write a series of four
patches. Of course, we will both use the "Co-developed-by" and "Signed-off-
by" tags on each of the four works that make up the series.
However, there is a small problem that we would like to solve. Git-log only
displays a single name preceded by "Author:", so the reader of "git log --
pretty = short" will only be shown one of our names.
We would like git-log to show one name after "Author:" in 1/4 and 4/4 and the
other name in 2/4 and 3/4. This arbitrary breakdown is based on the fact that
approximately 80% -90% of the lines of code from the first patch group were
actually written by one of the two co-developers and approximately 80% -90%
of the second patch group was written by the other.
I guess Git will label anyone who submits the whole series as "Author"; works
like this or am I wrong? If so, I guess if my friend sends patches 0/4, 1/4
and 4/4 then I should find a way to send 2/4 and 3/4 somehow that makes it
clear to the maintainer, the tool that uses to apply the series, and the
reviewers, which also 2/4 and 3/4 belong to the same series as 0/4, 1/4 and
4/4.
How can we achieve this?
Thanks,
Fabio
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: The authorship of each patch in a series
2021-09-02 7:13 The authorship of each patch in a series Fabio M. De Francesco
@ 2021-09-02 7:22 ` Greg KH
2021-09-02 9:00 ` Fabio M. De Francesco
0 siblings, 1 reply; 3+ messages in thread
From: Greg KH @ 2021-09-02 7:22 UTC (permalink / raw)
To: Fabio M. De Francesco; +Cc: kernelnewbies
On Thu, Sep 02, 2021 at 09:13:55AM +0200, Fabio M. De Francesco wrote:
> Hi all,
>
> Another developer and I collaborated to design and write a series of four
> patches. Of course, we will both use the "Co-developed-by" and "Signed-off-
> by" tags on each of the four works that make up the series.
>
> However, there is a small problem that we would like to solve. Git-log only
> displays a single name preceded by "Author:", so the reader of "git log --
> pretty = short" will only be shown one of our names.
>
> We would like git-log to show one name after "Author:" in 1/4 and 4/4 and the
> other name in 2/4 and 3/4. This arbitrary breakdown is based on the fact that
> approximately 80% -90% of the lines of code from the first patch group were
> actually written by one of the two co-developers and approximately 80% -90%
> of the second patch group was written by the other.
>
> I guess Git will label anyone who submits the whole series as "Author"; works
> like this or am I wrong? If so, I guess if my friend sends patches 0/4, 1/4
> and 4/4 then I should find a way to send 2/4 and 3/4 somehow that makes it
> clear to the maintainer, the tool that uses to apply the series, and the
> reviewers, which also 2/4 and 3/4 belong to the same series as 0/4, 1/4 and
> 4/4.
>
> How can we achieve this?
Commit the patches to your local tree with the correct authorship
information (some from you, some from them), and then when you create
the patch series, the correct names will show up in the email as who
authored them as the "From:" line.
Try it locally and see, this happens all the time in kernel development.
As an example, see all of the stable-kernel -rc release announcements
with the patches in them. The original authorship is preserved just
fine.
thanks,
greg k-h
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: The authorship of each patch in a series
2021-09-02 7:22 ` Greg KH
@ 2021-09-02 9:00 ` Fabio M. De Francesco
0 siblings, 0 replies; 3+ messages in thread
From: Fabio M. De Francesco @ 2021-09-02 9:00 UTC (permalink / raw)
To: Greg KH; +Cc: kernelnewbies
On Thursday, September 2, 2021 9:22:40 AM CEST Greg KH wrote:
> On Thu, Sep 02, 2021 at 09:13:55AM +0200, Fabio M. De Francesco wrote:
> > [...]
> > How can we achieve this?
>
> Commit the patches to your local tree with the correct authorship
> information (some from you, some from them), and then when you create
> the patch series, the correct names will show up in the email as who
> authored them as the "From:" line.
>
> Try it locally and see, this happens all the time in kernel development.
>
> As an example, see all of the stable-kernel -rc release announcements
> with the patches in them. The original authorship is preserved just
> fine.
>
> thanks,
>
> greg k-h
>
Thank you very much, we will use your suggestion to send that series for
staging-test as soon as it is fully refined and properly tested.
Regards,
Fabio
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-09-02 9:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-02 7:13 The authorship of each patch in a series Fabio M. De Francesco
2021-09-02 7:22 ` Greg KH
2021-09-02 9:00 ` Fabio M. De Francesco
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.