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

Re: gitk graph routing problem

From
Alex Riesen <raa.lkml@gmail.com>
Date
Dec 14, 2007, 22:29 UTC
Message-ID
<20071214222931.GB4943@steel.home>
In-Reply-To
<18271.3714.731136.272491@cargo.ozlabs.ibm.com>
Paul Mackerras, Tue, Dec 11, 2007 23:26:10 +0100:
Show 21 quoted lines
> Alex Riesen writes:
> 
> > To reproduce, try running in git repo:
> > 
> >     gitk 02f630448e5d48e..06ea6ba9cf46ef5
> > 
> > Than go some pages (around 5) forward. You should notice system load
> > going up rapidly. Now try paging back - and graph starts stretching
> > to the right, to the point nothing fits on the screen anymore.
> 
> I finally got back to look at this.  The problem is not so much the
> layout algorithm per se as the fact that I haven't worked out a good
> way to pack lots of downward-pointing arrows in without using up
> arbitrarily large amounts of horizontal space.  You have managed to
> find an example where just about every commit is a merge needing one
> or more downward-pointing arrows.
> 
> Incidentally, gitk from the dev branch of my gitk.git repo does much
> better on this example, since it is able to hoist the open-circle
> (excluded) commits up to the row below their merge children, which
> looks much nicer.
could you point to a specific commit where it does that?

Because the current head of dev branch at //git.kernel.org/pub/scm/gitk/gitk (3de07118f0993e6f7bc7ce02276751795d80b877) does not look any different and still almost locks up drawing all the horizontal lines.

Previous: Paul Mackerras
Message 8 of 8 in “gitk graph routing problem”
  1. Alex RiesenNov 4, 2007
  2. Paul MackerrasNov 4, 2007
  3. Junio C HamanoNov 4, 2007
  4. Alex RiesenNov 5, 2007
  5. Alex RiesenNov 5, 2007
  6. Alex RiesenNov 5, 2007
  7. Paul MackerrasDec 11, 2007
  8. Alex RiesenDec 14, 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.