diff options
| author | Beat Bolli <dev+git@drbeat.li> | 2019-12-12 16:44:50 -0800 |
|---|---|---|
| committer | Paul Mackerras <paulus@ozlabs.org> | 2019-12-15 15:21:59 +1100 |
| commit | b8b60957ce91b237b7f8925a3126b2662d3fcf41 (patch) | |
| tree | 186e517d57e50492d2112fe0700529644a344caa /gitk | |
| parent | 2a4ac71ffbbc1c8f6d66cc4d1276ab1c8b7ae3d2 (diff) | |
| download | git-b8b60957ce91b237b7f8925a3126b2662d3fcf41.tar.xz | |
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 <dev+git@drbeat.li>
[dl: based the patch on gitk's tree]
Signed-off-by: Denton Liu <liu.denton@gmail.com>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Diffstat (limited to 'gitk')
| -rwxr-xr-x | gitk | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -2640,7 +2640,7 @@ proc makewindow {} { {mc "Diff selected -> this" command {diffvssel 1}} {mc "Make patch" command mkpatch} {mc "Create tag" command mktag} - {mc "Copy commit summary" command copysummary} + {mc "Copy commit reference" command copyreference} {mc "Write commit to file" command writecommit} {mc "Create new branch" command mkbranch} {mc "Cherry-pick this commit" command cherrypick} @@ -9426,7 +9426,7 @@ proc mktaggo {} { mktagcan } -proc copysummary {} { +proc copyreference {} { global rowmenuid autosellen set format "%h (\"%s\", %ad)" @@ -9434,10 +9434,10 @@ proc copysummary {} { if {$autosellen < 40} { lappend cmd --abbrev=$autosellen } - set summary [eval exec $cmd $rowmenuid] + set reference [eval exec $cmd $rowmenuid] clipboard clear - clipboard append $summary + clipboard append $reference } proc writecommit {} { |
