From: Cornelius Schumacher <schumacher@kde.org>
To: git <git@vger.kernel.org>
Cc: Christian Couder <christian.couder@gmail.com>, Josh Triplett <josh@joshtriplett.org>
Subject: Re: [RFC] Proof of concept: Support multiple authors
Date: Mon, 30 Jan 2017 20:33:56 +0100
Message-ID: <1895528.rno9AclvBq@linux-7ekr> (raw)
In-Reply-To: <CAP8UFD3=vaFupEDay-5vrMBwK_YJezysUUvySxnUUZxuW7m_WQ@mail.gmail.com>
On Monday 30 January 2017 18:56:42 Christian Couder wrote:
> On Sun, Jan 29, 2017 at 7:06 PM, Cornelius Schumacher
> <schumacher@kde.org> wrote:
> > This patch is a proof of concept implementation of support for
> > multiple authors. It adds an optional `authors` header to commits
> > which is set when there are authors configured in the git config.
>
> I am just wondering if you have read and taken into account the
> previous threads on this mailing list about the same subject, like for
> example this one:
>
> https://public-inbox.org/git/CAOvwQ4i_HL7XGnxZrVu3oSnsbnTyxbg8Vh6vzi4c1isSrr
> exYQ@mail.gmail.com/
Thanks for the pointer. I have read what I could find about the topic and
tried to take it into account. Conceptually I wouldn't want to alter the
semantics of the existing author field, but add optional information to
capture the nature of commits done by multiple people collaboratively, where
attribution to a single author is not an adequate representation of how the
commit was done.
Maybe it still would be too intrusive to add an additional header, and there
would be more elegant solutions to this problem. I would be very much
interested to hear about better ideas how to handle this. On the other hand it
seems to be the most straight-forward solution to handle this on the same
level as single author information. But maybe this is due to my still limited
familiarity to the internals of git ;-)
What I know from the experience of pair programming is that it is an actual
problem to not be able to represent this information in a native way. It would
benefit quite a number of programmers to improve that. I'm trying to find a
solution which does that and still is compatible with the design of git. Any
comments leading to an acceptable solution I highly appreciate.
> > Adding support for multiple authors would make the life of developers
> > doing
> > pair programming easier. It would be useful in itself, but it would also
> > need support by other tools around git to use its full potential.
>
> From what I recall from previous discussions, the most important
> question is: are you sure that it doesn't break any other tool?
I have tried with a few tools and didn't find breakage other than that the
additional information would not be taken into account. That of course doesn't
mean that we could be sure that there are no tools which would break. Does
anybody have hints on what tools would be most sensitive to such a change?
I realize that it does take effort and time to implement such a feature in a
way which doesn't create breakage. But I still would like to try how far we
could come with that., because maybe it actually can be done.
--
Cornelius Schumacher <schumacher@kde.org>