summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Shawn O. Pearce <spearce@spearce.org>2007-07-05 22:16:38 -0400
committerLibravatar Shawn O. Pearce <spearce@spearce.org>2007-07-06 03:59:34 -0400
commitf1e031bbebb8910ef11f1d5d566b357b50050c56 (patch)
tree8e52281cbcd0df8009c1b81585b0fac49def96db
parentgit-gui: Unlock the index when cancelling merge dialog (diff)
downloadtgif-f1e031bbebb8910ef11f1d5d566b357b50050c56.tar.xz
git-gui: Don't bind F5/M1-R in all windows
We actually only want our F5/M1-R keystroke bound in the main window. Within a browser/blame/console window pressing these keys should not execute the rescan action. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
-rwxr-xr-xgit-gui.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/git-gui.sh b/git-gui.sh
index 6b7321bb03..a1cf873e35 100755
--- a/git-gui.sh
+++ b/git-gui.sh
@@ -2149,9 +2149,9 @@ if {[is_enabled branch]} {
bind . <$M1B-Key-N> do_create_branch
}
-bind all <Key-F5> do_rescan
-bind all <$M1B-Key-r> do_rescan
-bind all <$M1B-Key-R> do_rescan
+bind . <Key-F5> do_rescan
+bind . <$M1B-Key-r> do_rescan
+bind . <$M1B-Key-R> do_rescan
bind . <$M1B-Key-s> do_signoff
bind . <$M1B-Key-S> do_signoff
bind . <$M1B-Key-i> do_add_all