gitk: Include commit title in branch dialog

Hi, I made another branch dialog related change, included in this message. It applies on top of my other two patches. Rogier. ------- 8< ------------------- 8< -------------- Only the SHA1 was included. It's convenient to have the title mentioned as well. Signed-off-by: Rogier Goossens <goossens.rogier@gmail.com> Signed-off-by: Paul Mackerras <paulus@ozlabs.org>

Rogier Goossens committed Mar 27, 2016 at 09:21 UTC 7f00f4c0de4f2ceef43b19e9465d8e8c0977caac
1 file changed +6 -1
gitk
+6 -1
@@ -9484,7 +9484,7 @@ proc mvbranch {} {
9484 }
9485
9486 proc branchdia {top valvar uivar} {
9487 - global NS
9487 + global NS commitinfo
9488 upvar $valvar val $uivar ui
9489
9490 catch {destroy $top}
@@ -9497,6 +9497,11 @@ proc branchdia {top valvar uivar} {
9497 $top.sha1 insert 0 $val(id)
9498 $top.sha1 conf -state readonly
9499 grid $top.id $top.sha1 -sticky w
9500 + ${NS}::entry $top.head -width 60
9501 + $top.head insert 0 [lindex $commitinfo($val(id)) 0]
9502 + $top.head conf -state readonly
9503 + grid x $top.head -sticky ew
9504 + grid columnconfigure $top 1 -weight 1
9505 ${NS}::label $top.nlab -text [mc "Name:"]
9506 ${NS}::entry $top.name -width 40
9507 $top.name insert 0 $val(name)