Skip to content

Commit b8b6095

Browse files
bbollipaulusmack
authored andcommitted
gitk: rename "commit summary" to "commit reference"
Now that the commit reference format has a canonical name, let's use this name in gitk's UI and implementation. Signed-off-by: Beat Bolli <[email protected]> [dl: based the patch on gitk's tree] Signed-off-by: Denton Liu <[email protected]> Signed-off-by: Paul Mackerras <[email protected]>
1 parent 2a4ac71 commit b8b6095

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

gitk

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2640,7 +2640,7 @@ proc makewindow {} {
26402640
{mc "Diff selected -> this" command {diffvssel 1}}
26412641
{mc "Make patch" command mkpatch}
26422642
{mc "Create tag" command mktag}
2643-
{mc "Copy commit summary" command copysummary}
2643+
{mc "Copy commit reference" command copyreference}
26442644
{mc "Write commit to file" command writecommit}
26452645
{mc "Create new branch" command mkbranch}
26462646
{mc "Cherry-pick this commit" command cherrypick}
@@ -9426,18 +9426,18 @@ proc mktaggo {} {
94269426
mktagcan
94279427
}
94289428

9429-
proc copysummary {} {
9429+
proc copyreference {} {
94309430
global rowmenuid autosellen
94319431

94329432
set format "%h (\"%s\", %ad)"
94339433
set cmd [list git show -s --pretty=format:$format --date=short]
94349434
if {$autosellen < 40} {
94359435
lappend cmd --abbrev=$autosellen
94369436
}
9437-
set summary [eval exec $cmd $rowmenuid]
9437+
set reference [eval exec $cmd $rowmenuid]
94389438

94399439
clipboard clear
9440-
clipboard append $summary
9440+
clipboard append $reference
94419441
}
94429442

94439443
proc writecommit {} {

0 commit comments

Comments
 (0)