threads / patch / 22440

patchgit-gui: fix shortcut for menu "Commit/Revert Changes"

Subject: [PATCH] git-gui: fix shortcut for menu "Commit/Revert Changes"

## tl;dr

One message between Jan 29, 2010 and Jan 29, 2010. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Heiko Voigt· Jan 29, 2010, 15:57 UTC · lore
The shortcut was not properly recognized previously.
Signed-off-by: Heiko Voigt <heiko.voigt@mahr.de>
---
 git-gui.sh |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
Show changes to git-gui.sh +2 −0
diff --git a/git-gui.sh b/git-gui.sh
index debcc5f..7d54511 100755
--- a/git-gui.sh
+++ b/git-gui.sh
@@ -3550,6 +3550,8 @@ bind .   <$M1B-Key-s> do_signoff
 bind .   <$M1B-Key-S> do_signoff
 bind .   <$M1B-Key-t> do_add_selection
 bind .   <$M1B-Key-T> do_add_selection
+bind .   <$M1B-Key-j> do_revert_selection
+bind .   <$M1B-Key-J> do_revert_selection
 bind .   <$M1B-Key-i> do_add_all
 bind .   <$M1B-Key-I> do_add_all
 bind .   <$M1B-Key-minus> {show_less_context;break}
-- 
1.7.0.rc0.27.ge8d3a

← back to recent threads