projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gitk: Fix display of "(...)" for parents/children we haven't drawn
[git.git]
/
gitk
diff --git
a/gitk
b/gitk
index
4aa57c0
..
d59debf
100755
(executable)
--- a/
gitk
+++ b/
gitk
@@
-3213,8
+3213,11
@@
proc selcanvline {w x y} {
proc commit_descriptor {p} {
global commitinfo
proc commit_descriptor {p} {
global commitinfo
+ if {![info exists commitinfo($p)]} {
+ getcommit $p
+ }
set l "..."
set l "..."
- if {[
info exists commitinfo($p)]
} {
+ if {[
llength $commitinfo($p)] > 1
} {
set l [lindex $commitinfo($p) 0]
}
return "$p ($l)"
set l [lindex $commitinfo($p) 0]
}
return "$p ($l)"