Merge branch 'bp/bind-kp-enter' of git-gui into bp/git-gui-bind-kp-enter
authorJunio C Hamano <gitster@pobox.com>
Fri, 2 Mar 2018 23:15:07 +0000 (15:15 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 2 Mar 2018 23:16:34 +0000 (15:16 -0800)
* 'bp/bind-kp-enter' of git-gui:
git-gui: bind CTRL/CMD+numpad ENTER to do_commit

git-gui/git-gui.sh
index 91c00e6489305a56faed6d4e89150709ba7f2aeb..6de74ce639cec90fcf7ba1797825526df675547a 100755 (executable)
@@ -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 }