git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* gitk screenshots of complex history
@ 2007-07-27  4:13 Shawn O. Pearce
  2007-07-27  5:20 ` Linus Torvalds
  2007-07-27 13:52 ` Brian Downing
  0 siblings, 2 replies; 5+ messages in thread
From: Shawn O. Pearce @ 2007-07-27  4:13 UTC (permalink / raw)
  To: git

I've mentioned both on list and on #git that one of my production
repositories has a few weird points in time.  Some folks have asked
to see at least screenshots of the line part of the gitk output,
as apparently they've never seen ugly history in Git.  Lucky them.

The images are rather large so I have posted them on my website
with a bit longer explanation of each:

  http://www.spearce.org/2007/07/difficult-gitk-graphs.html


I just compared my own history to Linus' linux-2.6 history.
The kernel team can't hold a candle to this mess.  Remember,
this is *with* me involved in the project on a daily basis.  Me.
Someone who knows Git fairly well...

OK, no more screenshots from *that* repository!  I don't ever want
to run `gitk --all` there again.  Ever.

PS: The really interesting data (subject lines, authors, dates)
has all been redacted from the images.  I can't publish that stuff.

-- 
Shawn.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: gitk screenshots of complex history
  2007-07-27  4:13 gitk screenshots of complex history Shawn O. Pearce
@ 2007-07-27  5:20 ` Linus Torvalds
  2007-07-27  5:29   ` Shawn O. Pearce
  2007-07-27 13:52 ` Brian Downing
  1 sibling, 1 reply; 5+ messages in thread
From: Linus Torvalds @ 2007-07-27  5:20 UTC (permalink / raw)
  To: Shawn O. Pearce; +Cc: git



On Fri, 27 Jul 2007, Shawn O. Pearce wrote:
> 
> I just compared my own history to Linus' linux-2.6 history.
> The kernel team can't hold a candle to this mess.

Rather on purpose, I might add. I've actually been fairly anal about 
having people maintain clean histories, to the point where I refuse to 
pull from trees that don't do a good enough job.

			Linus

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: gitk screenshots of complex history
  2007-07-27  5:20 ` Linus Torvalds
@ 2007-07-27  5:29   ` Shawn O. Pearce
  2007-07-27  5:49     ` David Kastrup
  0 siblings, 1 reply; 5+ messages in thread
From: Shawn O. Pearce @ 2007-07-27  5:29 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: git

Linus Torvalds <torvalds@linux-foundation.org> wrote:
> On Fri, 27 Jul 2007, Shawn O. Pearce wrote:
> > 
> > I just compared my own history to Linus' linux-2.6 history.
> > The kernel team can't hold a candle to this mess.
> 
> Rather on purpose, I might add. I've actually been fairly anal about 
> having people maintain clean histories, to the point where I refuse to 
> pull from trees that don't do a good enough job.

For 4 of our internal repositories I've taken that policy up now
myself, and nobody is allowed to create releases from them except me.
This has helped.  A lot.  So does sensible use of `git rebase -i`.
You and Junio have really sold me on the value of having someone
play a very strict gatekeeper role.  I get better work product from
my coworkers this way too.  They know someone else is looking at
what they are doing and try harder.

But it doesn't help the really old history, nor does it help
the repository these images came from.  I don't own/control that
development.  I just provide git help as much as I can.

-- 
Shawn.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: gitk screenshots of complex history
  2007-07-27  5:29   ` Shawn O. Pearce
@ 2007-07-27  5:49     ` David Kastrup
  0 siblings, 0 replies; 5+ messages in thread
From: David Kastrup @ 2007-07-27  5:49 UTC (permalink / raw)
  To: Shawn O. Pearce; +Cc: Linus Torvalds, git

"Shawn O. Pearce" <spearce@spearce.org> writes:

> Linus Torvalds <torvalds@linux-foundation.org> wrote:
>> On Fri, 27 Jul 2007, Shawn O. Pearce wrote:
>> > 
>> > I just compared my own history to Linus' linux-2.6 history.
>> > The kernel team can't hold a candle to this mess.
>> 
>> Rather on purpose, I might add. I've actually been fairly anal about 
>> having people maintain clean histories, to the point where I refuse to 
>> pull from trees that don't do a good enough job.
>
> For 4 of our internal repositories I've taken that policy up now
> myself, and nobody is allowed to create releases from them except me.
> This has helped.  A lot.  So does sensible use of `git rebase -i`.
> You and Junio have really sold me on the value of having someone
> play a very strict gatekeeper role.  I get better work product from
> my coworkers this way too.  They know someone else is looking at
> what they are doing and try harder.
>
> But it doesn't help the really old history, nor does it help
> the repository these images came from.  I don't own/control that
> development.  I just provide git help as much as I can.

One idea I have not yet put into any code is using graphviz for
creating a nice (possibly clickable) layout of a commit history.  It
might be able to rearrange things such that the long parallel lines
get avoided.  Could be an interesting feature for the HTML
visualizers.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: gitk screenshots of complex history
  2007-07-27  4:13 gitk screenshots of complex history Shawn O. Pearce
  2007-07-27  5:20 ` Linus Torvalds
@ 2007-07-27 13:52 ` Brian Downing
  1 sibling, 0 replies; 5+ messages in thread
From: Brian Downing @ 2007-07-27 13:52 UTC (permalink / raw)
  To: Shawn O. Pearce; +Cc: git

On Fri, Jul 27, 2007 at 12:13:01AM -0400, Shawn O. Pearce wrote:
> I've mentioned both on list and on #git that one of my production
> repositories has a few weird points in time.  Some folks have asked
> to see at least screenshots of the line part of the gitk output,
> as apparently they've never seen ugly history in Git.  Lucky them.
> 
> The images are rather large so I have posted them on my website
> with a bit longer explanation of each:
> 
>   http://www.spearce.org/2007/07/difficult-gitk-graphs.html
 
> OK, no more screenshots from *that* repository!  I don't ever want
> to run `gitk --all` there again.  Ever.

Were those graphs generated with --topo-order (the default) or
--date-order?  I've found complex history usually looks a lot more
manageable with --date-order.  Certainly the Git history is a LOT less
wide with --all --date-order than --all.

Does this help your situation as well?

-bcd

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-07-27 13:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-27  4:13 gitk screenshots of complex history Shawn O. Pearce
2007-07-27  5:20 ` Linus Torvalds
2007-07-27  5:29   ` Shawn O. Pearce
2007-07-27  5:49     ` David Kastrup
2007-07-27 13:52 ` Brian Downing

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).