summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 098dd8a)
raw | patch | inline | side by side (parent: 098dd8a)
author | Paul Mackerras <paulus@samba.org> | |
Sun, 14 May 2006 23:56:08 +0000 (09:56 +1000) | ||
committer | Paul Mackerras <paulus@samba.org> | |
Sun, 14 May 2006 23:56:08 +0000 (09:56 +1000) |
In the commit details window, we were displaying "(...)" for the
headlines of parents and children that haven't been drawn, without
making any attempt to get those headlines. This adds a call to
getcommit to commit_descriptor so we get those headlines.
Signed-off-by: Paul Mackerras <paulus@samba.org>
headlines of parents and children that haven't been drawn, without
making any attempt to get those headlines. This adds a call to
getcommit to commit_descriptor so we get those headlines.
Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk | patch | blob | history |
index 4aa57c01ce56e505aba5384f716376a68a7fdc7a..d59debf2f5bb8907cd77fb63f70aa59d6e856602 100755 (executable)
--- a/gitk
+++ b/gitk
proc commit_descriptor {p} {
global commitinfo
+ if {![info exists commitinfo($p)]} {
+ getcommit $p
+ }
set l "..."
- if {[info exists commitinfo($p)]} {
+ if {[llength $commitinfo($p)] > 1} {
set l [lindex $commitinfo($p) 0]
}
return "$p ($l)"