Skip to content

Commit 7f00f4c

Browse files
Rogier Goossenspaulusmack
authored andcommitted
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 <[email protected]> Signed-off-by: Paul Mackerras <[email protected]>
1 parent 02e6a06 commit 7f00f4c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

gitk

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9484,7 +9484,7 @@ proc mvbranch {} {
94849484
}
94859485

94869486
proc branchdia {top valvar uivar} {
9487-
global NS
9487+
global NS commitinfo
94889488
upvar $valvar val $uivar ui
94899489

94909490
catch {destroy $top}
@@ -9497,6 +9497,11 @@ proc branchdia {top valvar uivar} {
94979497
$top.sha1 insert 0 $val(id)
94989498
$top.sha1 conf -state readonly
94999499
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
95009505
${NS}::label $top.nlab -text [mc "Name:"]
95019506
${NS}::entry $top.name -width 40
95029507
$top.name insert 0 $val(name)

0 commit comments

Comments
 (0)