Questions about git co-author
Dmitry V. Levin
ldv at altlinux.org
Wed May 29 00:58:47 UTC 2019
Hi,
On Tue, May 28, 2019 at 11:17:44PM +0800, Zhibin Li wrote:
> Hi,
>
> As you may know, I'm working on DRM ioctl decoding based on Patrik's
> patchset.
> And I presume that I'm supposed to add some labels in the patches I send
> such
> as "Co-authored by" to indicate that Patrik and I both work on this.
> But here's the question: how can I keep the author of every line of code
> correct?
> I mean when using git blame we can see who modified a specific line of code.
AFAICT git blame shows a single author (the one specified in "author" tag
of the corresponding commit object), it is not capable of listing co-authors.
> I tried to squash my modifications with Patrik's original patch but the info
> mentioned above is overwritten. Is there any common way to keep it correct?
> Does it matter or adding "Co-authored by" is enough?
For the purpose of attribution, Co-authored-by should be enough.
--
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20190529/da902047/attachment.bin>
More information about the Strace-devel
mailing list