diff options
author | Paul Mackerras <paulus@samba.org> | 2007-10-06 20:17:59 +1000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-10-06 20:17:59 +1000 |
commit | 308ff3d59df853a21d4e218473974311fb7b3320 (patch) | |
tree | 9b0ecd35c5e26662eb85862af93cd48cb40be759 /gitk | |
parent | 9a7558f348772ab3c2fb3d4beda3a3a7af1e843a (diff) | |
download | git-308ff3d59df853a21d4e218473974311fb7b3320.tar.gz git-308ff3d59df853a21d4e218473974311fb7b3320.tar.xz |
gitk: Fix bug where the last few commits would sometimes not be visible
We weren't calling showstuff for the last few commits under some
circumstances, causing the scrolling region not to be extended right
to the end of the graph. This fixes it.
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'gitk')
-rwxr-xr-x | gitk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2758,7 +2758,7 @@ proc layoutmore {} { global uparrowlen downarrowlen mingaplen curview set show $commitidx($curview) - if {$show > $numcommits} { + if {$show > $numcommits || $viewcomplete($curview)} { showstuff $show $viewcomplete($curview) } } |