diff options
author | Alexander Gavrilov <angavrilov@gmail.com> | 2008-09-08 11:28:16 +0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-09-21 18:13:10 -0500 |
commit | b8a640ee1aa45e0f874664417db8a05d5a0d48b0 (patch) | |
tree | a5f55a3d72bbdb2aed38c03d342de5c0955a577b | |
parent | d277e89f87fda01daa1e1a35fc1f7118678faa1f (diff) | |
download | git-b8a640ee1aa45e0f874664417db8a05d5a0d48b0.tar.gz git-b8a640ee1aa45e0f874664417db8a05d5a0d48b0.tar.xz |
gitk: Fix a bug in collapsing deeply nested trees
To reproduce: expand a tree like this, then collapse A:
+A
+B
C
D
The result is:
-A
C
D
I.e. sub-nodes expanded from the last sub-node of the item
being collapsed are not removed.
Signed-off-by: Alexander Gavrilov <angavrilov@gmail.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
-rwxr-xr-x | gitk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2706,7 +2706,7 @@ proc treeopendir {w dir} { $w insert e:$ix $e [highlight_tag $de] } } - $w mark gravity e:$ix left + $w mark gravity e:$ix right $w conf -state disabled set treediropen($dir) 1 set top [lindex [split [$w index @0,0] .] 0] |