Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'maint'
author
Shawn O. Pearce
<spearce@spearce.org>
Mon, 30 Mar 2009 14:09:28 +0000
(07:09 -0700)
committer
Shawn O. Pearce
<spearce@spearce.org>
Mon, 30 Mar 2009 14:09:28 +0000
(07:09 -0700)
* maint:
git-gui: fix deleting from the context menu with empty selection
git-gui.sh
patch
|
blob
|
history
raw
(from parent 1:
966d077
)
diff --git
a/git-gui.sh
b/git-gui.sh
index 2f1f305019a1af1aec5f9885468188c9daa7a8ef..b3aa7325f037b8a4c918859f639e7aa210a1f107 100755
(executable)
--- a/
git-gui.sh
+++ b/
git-gui.sh
@@
-2944,7
+2944,7
@@
$ctxm add command \
-command {tk_textPaste $ui_comm}
$ctxm add command \
-label [mc Delete] \
- -command {
$ui_comm delete sel.first sel.last
}
+ -command {
catch {$ui_comm delete sel.first sel.last}
}
$ctxm add separator
$ctxm add command \
-label [mc "Select All"] \