git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: gitk screenshots of complex history

From
David Kastrup <dak@gnu.org>
Date
Jul 27, 2007, 05:49 UTC
Message-ID
<85k5sm5rbw.fsf@lola.goethe.zz>
In-Reply-To
<20070727052934.GH20052@spearce.org>
"Shawn O. Pearce" <spearce@spearce.org> writes:
Show 21 quoted lines
> 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
Previous: Shawn O. PearceNext: Brian Downing
Message 4 of 5 in “gitk screenshots of complex history”
  1. Shawn O. PearceJul 27, 2007
  2. Linus TorvaldsJul 27, 2007
  3. Shawn O. PearceJul 27, 2007
  4. David KastrupJul 27, 2007
  5. Brian DowningJul 27, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.