summaryrefslogtreecommitdiff
path: root/git-gui/git-gui.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-03-02 23:15:07 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-03-02 23:16:34 (GMT)
commit28a1d94a0630d30c8bbafdf23776b9224b23e9cc (patch)
treef3dcd4a28e3b492d6a67d309445d9b019e57c2e5 /git-gui/git-gui.sh
parent7e31236f652ad9db221511eaf157ce0ef55585d6 (diff)
parent146a6f1097f451c6b6d332916a515b7ce8c07e9a (diff)
downloadgit-28a1d94a0630d30c8bbafdf23776b9224b23e9cc.zip
git-28a1d94a0630d30c8bbafdf23776b9224b23e9cc.tar.gz
git-28a1d94a0630d30c8bbafdf23776b9224b23e9cc.tar.bz2
Merge branch 'bp/bind-kp-enter' of git-gui into bp/git-gui-bind-kp-enter
* 'bp/bind-kp-enter' of git-gui: git-gui: bind CTRL/CMD+numpad ENTER to do_commit
Diffstat (limited to 'git-gui/git-gui.sh')
-rwxr-xr-xgit-gui/git-gui.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/git-gui/git-gui.sh b/git-gui/git-gui.sh
index 91c00e6..6de74ce 100755
--- a/git-gui/git-gui.sh
+++ b/git-gui/git-gui.sh
@@ -3867,6 +3867,7 @@ bind . <$M1B-Key-equal> {show_more_context;break}
bind . <$M1B-Key-plus> {show_more_context;break}
bind . <$M1B-Key-KP_Add> {show_more_context;break}
bind . <$M1B-Key-Return> do_commit
+bind . <$M1B-Key-KP_Enter> do_commit
foreach i [list $ui_index $ui_workdir] {
bind $i <Button-1> { toggle_or_diff click %W %x %y; break }
bind $i <$M1B-Button-1> { add_one_to_selection %W %x %y; break }