summaryrefslogtreecommitdiff
path: root/git-gui
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-04-25 13:28:48 +0900
committerJunio C Hamano <gitster@pobox.com>2018-04-25 13:28:48 +0900
commitb1218e46a6255a3bdbe2af1c9c329c20722df112 (patch)
treed2f230954f0cd90c48726fd151dee8041f772bfd /git-gui
parent8b09611475b6095003a08baccb136e885e11a1dd (diff)
parent28a1d94a0630d30c8bbafdf23776b9224b23e9cc (diff)
downloadgit-b1218e46a6255a3bdbe2af1c9c329c20722df112.tar.gz
Merge branch 'bp/git-gui-bind-kp-enter'
"git gui" performs commit upon CTRL/CMD+ENTER but the CTRL/CMD+KP_ENTER (i.e. enter key on the numpad) did not have the same key binding. It now does. * bp/git-gui-bind-kp-enter: git-gui: bind CTRL/CMD+numpad ENTER to do_commit
Diffstat (limited to 'git-gui')
-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 91c00e6489..6de74ce639 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 }