* [PATCH (GITK FIX)] gitk: Fix a bug in collapsing deeply nested trees.
@ 2008-09-08 7:28 Alexander Gavrilov
0 siblings, 0 replies; only message in thread
From: Alexander Gavrilov @ 2008-09-08 7:28 UTC (permalink / raw)
To: git; +Cc: Paul Mackerras
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>
---
gitk | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/gitk b/gitk
index dbc6064..989a3f7 100755
--- a/gitk
+++ b/gitk
@@ -2705,7 +2705,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]
--
1.6.0.20.g6148bc
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2008-09-08 7:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-08 7:28 [PATCH (GITK FIX)] gitk: Fix a bug in collapsing deeply nested trees Alexander Gavrilov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).