summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: dc5ccdc)
raw | patch | inline | side by side (parent: dc5ccdc)
author | Shawn O. Pearce <spearce@spearce.org> | |
Thu, 19 Jul 2007 04:39:23 +0000 (00:39 -0400) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Thu, 19 Jul 2007 04:39:23 +0000 (00:39 -0400) |
Users who merge often may want to access the merge action quickly,
so we now bind M to the merge action.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
so we now bind M to the merge action.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-gui.sh | patch | blob | history |
diff --git a/git-gui.sh b/git-gui.sh
index 7b6a96e4f23d379905d2fc37adeaa07249c1b674..0aabfba6b77f2d3e8f97ae99d006f84dc22445d7 100755 (executable)
--- a/git-gui.sh
+++ b/git-gui.sh
if {[is_enabled branch]} {
menu .mbar.merge
.mbar.merge add command -label {Local Merge...} \
- -command merge::dialog
+ -command merge::dialog \
+ -accelerator $M1T-M
lappend disable_on_lock \
[list .mbar.merge entryconf [.mbar.merge index last] -state]
.mbar.merge add command -label {Abort Merge...} \
-command merge::reset_hard
lappend disable_on_lock \
[list .mbar.merge entryconf [.mbar.merge index last] -state]
-
}
# -- Transport Menu
bind . <$M1B-Key-N> branch_create::dialog
bind . <$M1B-Key-o> branch_checkout::dialog
bind . <$M1B-Key-O> branch_checkout::dialog
+ bind . <$M1B-Key-m> merge::dialog
+ bind . <$M1B-Key-M> merge::dialog
}
if {[is_enabled transport]} {
bind . <$M1B-Key-p> do_push_anywhere