From: Johan Herland <johan@herland.net>
To: git@drmicha.warpmail.net
Cc: gitster@pobox.com, git@vger.kernel.org,
johannes.schindelin@gmx.de, trast@student.ethz.ch,
tavestbo@trolltech.com, chriscool@tuxfamily.org
Subject: Re: [PATCH 0/5] RESEND: git notes
Date: Sat, 16 May 2009 18:01:33 +0200 [thread overview]
Message-ID: <200905161801.33369.johan@herland.net> (raw)
In-Reply-To: <4A0ED68F.6060200@drmicha.warpmail.net>
On Saturday 16 May 2009, git@drmicha.warpmail.net wrote:
> Johan Herland venit, vidit, dixit 16.05.2009 03:45:
> > Dscho has asked me to take over the responsibility for the js/notes
> > patch series.
> >
> > The following is a re-roll and resend of the patch series currently
> > in pu, plus my own 2 patches for adding support for "-m" and "-F" to
> > "git notes edit".
> >
> > On advice from Dscho, I have squashed the current bugfix and cleanup
> > patches in js/notes into the first 4 "main" patches. As a result the
> > original 15 + 2 patch series is now down to 5 (4 + 1) patches.
> >
> > In sum, these 5 patches produce the exact same result as the original
> > js/notes series (plus my 2 patches).
> >
> > I have taken the liberty of squashing the various Signed-off-by tags
> > (along with their corresponding patches) into these 5 new patches.
> > I hope this is OK with everybody. If not, I apologize; please tell me,
> > and I will re-send.
>
> Well, effectively you removed me (and others) from the author list :|
I know, and I'm sorry. This is not an ideal solution.
When a patch series is cooking in 'pu' and it receives fixes and cleanups
from people on the list, traditionally (I believe) Junio expects a
new/replacement series that incorporates this feedback to be posted to the
list. This results in cleaner series, but at the cost of collapsing
authorship down to the primary author.
In this case, the original author (Dscho) has not had the time to do this
re-roll, and the bugfixes/cleanups have instead been added to the end of the
patch series, resulting in the original js/notes series growing from 4 to 15
patches.
I believe the re-roll I have done results in a nicer and cleaner overall
series, and I have tried to mitigate the loss of authorship by adding small
notes in the commit messages mentioning the fixes contributed by others.
Still, Dscho stands as the primary author for the 4 "main" patches, and I
believe this is correct, even if the notes feature has been discussed and
developed conceptually by many others (myself included).
> I think the issue with the tree difference after this series (compared
> to the original one) shows that this squashing action makes reviewers'
> lives more complicated rather than easier. If it were the other way
> round squashing would be fine, of course.
When taking over this patch series, I believe I had 4 choices:
1. Leave everything as-is, adding my two patches on top of the existing 15.
For reviewers of the notes feature as a whole, I don't believe an ever-
growing patch series makes their life easier. Also, I believe a shorter
patch series looks nicer after being merged to 'next' (otherwise, why are we
doing this whole 're-rolling while in pu'-workflow?)
2. Squash the existing 15-patch series down to 4 patches, and add my 2
patches on top. This would yield a 4+2-patch series that would by tree-
identical to the original js/notes series after patch #4. However,
everybody's authorship would be lost, except my own (patch 5 & 6), and this
strikes me as a bit hypocritical.
3. Like #2, but also squash my first patch (the bugfix/cleanup part) into
the first 4 patches. This, I believe, best follows the intent of 'pu'
(squashing bugfixes and cleanups into the original series). Unfortunately,
it breaks the tree-equality provided in #2.
4. Squash all 17 patches into a 4-patch series. However, I believe the final
patch (adding support for '-m' and '-F' to 'git notes edit') is more of a
feature patch, than a bugfix/cleanup patch, and thus should not be squashed.
I therefore went with #3, which is - as I said above - not an ideal
solution, but AFAICS the best under the circumstances.
...Johan
--
Johan Herland, <johan@herland.net>
www.herland.net
next prev parent reply other threads:[~2009-05-16 16:01 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-16 1:45 [PATCH 0/5] RESEND: git notes Johan Herland
2009-05-16 1:45 ` [PATCH 1/5] Introduce commit notes Johan Herland
2009-05-16 1:45 ` [PATCH 2/5] Add a script to edit/inspect notes Johan Herland
2009-05-16 1:45 ` [PATCH 3/5] Speed up git notes lookup Johan Herland
2009-05-16 1:45 ` [PATCH 4/5] Add an expensive test for git-notes Johan Herland
2009-05-16 1:45 ` [PATCH 5/5] Teach "-m <msg>" and "-F <file>" to "git notes edit" Johan Herland
2009-05-16 7:06 ` [PATCH 0/5] RESEND: git notes Junio C Hamano
2009-05-16 11:20 ` Johan Herland
2009-05-16 11:44 ` [PATCHv2 " Johan Herland
2009-05-16 11:44 ` [PATCHv2 1/5] Introduce commit notes Johan Herland
2009-05-16 11:44 ` [PATCHv2 2/5] Add a script to edit/inspect notes Johan Herland
2009-05-16 11:44 ` [PATCHv2 3/5] Speed up git notes lookup Johan Herland
2009-05-16 11:44 ` [PATCHv2 4/5] Add an expensive test for git-notes Johan Herland
2009-05-16 11:44 ` [PATCHv2 5/5] Teach "-m <msg>" and "-F <file>" to "git notes edit" Johan Herland
2009-05-20 10:25 ` [PATCHv2 0/5] RESEND: git notes Johannes Schindelin
2009-05-20 11:54 ` Johan Herland
2009-05-16 15:06 ` [PATCH " git
2009-05-16 16:01 ` Johan Herland [this message]
2009-05-17 16:31 ` Johannes Schindelin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200905161801.33369.johan@herland.net \
--to=johan@herland.net \
--cc=chriscool@tuxfamily.org \
--cc=git@drmicha.warpmail.net \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=johannes.schindelin@gmx.de \
--cc=tavestbo@trolltech.com \
--cc=trast@student.ethz.ch \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).