gitk graph routing problem
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.
Gitk as of commit 7388bcbc5431552718dde5c3259d861d2fa75a12 in git repository. Git - v1.5.3.5-551-g02f6304 (terse fetch output and some *really* unrelated local modifications. Anyway, the gitk is the same). Bisect points to or around 6e8c87070306a757c4d7fd2c55cca3a90fe140c7 "gitk: Establish and use global left-to-right ordering for commits". It loops heavily at this commit and looks broken in all subsequent commits.
Last know good was 3244729aac7515c. The master of gitk repo is ok too.
Quoted 3 lines · Alex Riesen
To reproduce, try running in git repo:
gitk 02f630448e5d48e..06ea6ba9cf46ef5
I can't reproduce it here, as my clone of the git repo doesn't have 02f630448e5d48e in it, even after updating...
Paul.
Quoted 8 lines · Paul Mackerras
Quoted 3 lines · Alex Riesen
To reproduce, try running in git repo:
gitk 02f630448e5d48e..06ea6ba9cf46ef5I can't reproduce it here, as my clone of the git repo doesn't have
02f630448e5d48ein it, even after updating...
Heh, me neither ;-).
Junio C Hamano, Mon, Nov 05, 2007 00:14:29 +0100:
Quoted 4 lines
Quoted 2 lines · Paul Mackerras
Alex Riesen writes:
Quoted 8 lines
Quoted 6 lines
Quoted 3 lines
To reproduce, try running in git repo:
gitk 02f630448e5d48e..06ea6ba9cf46ef5I can't reproduce it here, as my clone of the git repo doesn't have
02f630448e5d48ein it, even after updating...Heh, me neither ;-).
Stupid me. Will follow up with a link to the archived repo in private mail.
Alex Riesen, Mon, Nov 05, 2007 01:53:49 +0100:
Quoted 7 lines
Junio C Hamano, Mon, Nov 05, 2007 00:14:29 +0100:
Quoted 6 lines
Quoted 4 lines · Paul Mackerras
Quoted 2 lines · Alex Riesen
To reproduce, try running in git repo:
Quoted 9 lines
Quoted 6 lines
Quoted 4 lines
Quoted 1 line
gitk 02f630448e5d48e..06ea6ba9cf46ef5I can't reproduce it here, as my clone of the git repo doesn't have
02f630448e5d48ein it, even after updating...Heh, me neither ;-).
Stupid me. Will follow up with a link to the archived repo in private mail.
http://ftp-tmp:[email protected]/~ftp-tmp/break-gitk.git.tar.bz2
Its around 60mb.
Alex Riesen, Mon, Nov 05, 2007 02:17:00 +0100:
Quoted 17 lines
Alex Riesen, Mon, Nov 05, 2007 01:53:49 +0100:
Quoted 16 lines
Junio C Hamano, Mon, Nov 05, 2007 00:14:29 +0100:
Quoted 4 lines
Quoted 2 lines · Paul Mackerras
Alex Riesen writes:
Quoted 8 lines
Quoted 6 lines
Quoted 3 lines
To reproduce, try running in git repo:
gitk 02f630448e5d48e..06ea6ba9cf46ef5I can't reproduce it here, as my clone of the git repo doesn't have
02f630448e5d48ein it, even after updating...Heh, me neither ;-).
Stupid me. Will follow up with a link to the archived repo in private mail.
and of course, I send it to everyone... Ach, well. Will keep it for a week, or until it is reproduced somewhere else. Whichever comes first.
Quoted 7 lines · Alex Riesen
To reproduce, try running in git repo:
gitk 02f630448e5d48e..06ea6ba9cf46ef5Than 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.
Paul.
Paul Mackerras, Tue, Dec 11, 2007 23:26:10 +0100:
Quoted 17 lines
Quoted 7 lines · Alex Riesen
To reproduce, try running in git repo:
gitk 02f630448e5d48e..06ea6ba9cf46ef5Than 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.
Quoted 4 lines
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.