summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7a1d9d1)
raw | patch | inline | side by side (parent: 7a1d9d1)
author | Paul Mackerras <paulus@samba.org> | |
Thu, 30 Mar 2006 07:43:51 +0000 (18:43 +1100) | ||
committer | Paul Mackerras <paulus@samba.org> | |
Thu, 30 Mar 2006 07:43:51 +0000 (18:43 +1100) |
With this, we can show the boundary (open-circle) commits immediately
after their last child, which looks much better than putting all the
boundary commits at the bottom of the graph.
Signed-off-by: Paul Mackerras <paulus@samba.org>
after their last child, which looks much better than putting all the
boundary commits at the bottom of the graph.
Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk | patch | blob | history |
index 03cd475f095313cfeb61c3701617a050469833dd..1989aa5168a72cca924cf91836f24ee7212fd21f 100755 (executable)
--- a/gitk
+++ b/gitk
}
if {[catch {
set commfd [open [concat | git-rev-list --header $order \
- --parents $rlargs] r]
+ --parents --boundary $rlargs] r]
} err]} {
puts stderr "Error executing git-rev-list: $err"
exit 1
set start [expr {$i + 1}]
set j [string first "\n" $cmit]
set ok 0
+ set listed 1
if {$j >= 0} {
set ids [string range $cmit 0 [expr {$j - 1}]]
+ if {[string range $ids 0 0] == "-"} {
+ set listed 0
+ set ids [string range $ids 1 end]
+ }
set ok 1
foreach id $ids {
if {[string length $id] != 40} {
exit 1
}
set id [lindex $ids 0]
- set olds [lrange $ids 1 end]
- set commitlisted($id) 1
+ if {$listed} {
+ set olds [lrange $ids 1 end]
+ set commitlisted($id) 1
+ } else {
+ set olds {}
+ }
updatechildren $id $olds
set commitdata($id) [string range $cmit [expr {$j + 1}] end]
set commitrow($id) $commitidx