From: lsorense@csclub.uwaterloo.ca (Lennart Sorensen)
To: Ingo Oeser <ioe-lkml@rameria.de>
Cc: Peter Zijlstra <peterz@infradead.org>,
Junio C Hamano <gitster@pobox.com>,
L-K <linux-kernel@vger.kernel.org>,
Linus Torvalds <torvalds@linux-foundation.org>
Subject: Re: git-send-email
Date: Fri, 13 Feb 2009 11:39:24 -0500 [thread overview]
Message-ID: <20090213163923.GE15809@csclub.uwaterloo.ca> (raw)
In-Reply-To: <200902131034.05814.ioe-lkml@rameria.de>
On Fri, Feb 13, 2009 at 10:34:05AM +0100, Ingo Oeser wrote:
> On Thursday 12 February 2009, Peter Zijlstra wrote:
> > > foobar patch 0 (usually a summary/overview)
> > > +-foobar patch 1
> > > +-foobar patch 2
> > > +-foobar patch 3
> > > +-foobar patch 4
> > > +-foobar patch 5
> > >
> > > is much nicer than
> > >
> > > foobar patch 0
> > > +-foobar patch 1
> > > +-foobar patch 2
> > > +-foobar patch 3
> > > +-foobar patch 4
> > > +-foobar patch 5
> > >
> > > which seems to be what git does itself.
> >
> > Which happens to be exactly what my suggestion would accomplish.
>
> Ok, then I take back my reservations and support this idea.
>
> Lennart: Thanks for visualizing what Peter meant :-)
Just in case anyone cares here are some statistics. I grabbed lkml
traffic from early january to early feburary, and looked at all the
multi message patches and split them into the 3 categories split,
shallow and deep. That means:
Split: (multiple seperate threads)
foobar patch 1
+-comment on patch 1
foobar patch 2
foobar patch 3
+-comment on patch 3
foobar patch 4
foobar patch 5
Shallow: (A tree of patches, with all patches linked from a single start message)
foobar patch 0 (usually a summary/overview)
+-foobar patch 1
| +-comment on patch 1
+-foobar patch 2
+-foobar patch 3
| +-comment on patch 3
+-foobar patch 4
+-foobar patch 5
Deep: (One long chain of patches)
foobar patch 0
+-foobar patch 1
+-foobar patch 2
| +-foobar patch 3
| +-foobar patch 4
| | +-foobar patch 5
| +-comment on patch 3
+-comment on patch 1
So the results were that people had used:
Split: 25 patch sets.
Shallow: 56 patch sets.
Deep: 6 patch sets.
It certainly looks like the shallow threaded mode is by far the most
prefered style by kernel developers, and should perhaps be the default
in GIT, especially given it makes it harder to follow the thread (later
patches are seen before comments on a patch, and the thread gets very
wide on the screen. I suspect almost all if not all of the users of the
default deep method, do it because its the default and not by choice. I
doubt whoever implemented the feature in git had even though about what
would happen when someone did a 50 part patch set that way. It may even
be that some people use the split style because they don't like the deep
style and git doesn't support doing the shalow style that most people
prefer.
Fortunately the people responsible for posting the largest patch sets
(such as stable reviews and the like) are doing it with shallow stule
already, however they manage to do that. Yay!
Oh well, back to doing actual useful work again...
--
Len Sorensen
next prev parent reply other threads:[~2009-02-13 16:39 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-12 15:15 git-send-email Peter Zijlstra
2009-02-12 17:25 ` git-send-email Ingo Oeser
2009-02-12 17:27 ` git-send-email Peter Zijlstra
2009-02-12 19:21 ` git-send-email Lennart Sorensen
2009-02-12 22:17 ` git-send-email Peter Zijlstra
2009-02-13 9:34 ` git-send-email Ingo Oeser
2009-02-13 16:39 ` Lennart Sorensen [this message]
2009-02-13 22:25 ` git-send-email Junio C Hamano
2009-02-15 17:20 ` git-send-email Stefan Richter
2009-02-15 18:30 ` git-send-email Peter Zijlstra
2009-02-15 19:25 ` git-send-email Stefan Richter
2009-02-16 20:58 ` git-send-email Joel Becker
2009-02-13 2:16 ` git-send-email Junio C Hamano
2009-02-13 9:22 ` git-send-email Peter Zijlstra
2009-02-13 9:27 ` git-send-email Willy Tarreau
2009-02-13 18:13 ` git-send-email H. Peter Anvin
2009-02-13 18:59 ` git-send-email Cyrill Gorcunov
2009-02-16 23:51 ` git-send-email Jeremy Fitzhardinge
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=20090213163923.GE15809@csclub.uwaterloo.ca \
--to=lsorense@csclub.uwaterloo.ca \
--cc=gitster@pobox.com \
--cc=ioe-lkml@rameria.de \
--cc=linux-kernel@vger.kernel.org \
--cc=peterz@infradead.org \
--cc=torvalds@linux-foundation.org \
/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
all inboxes | Powered by JetHome®