summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2007-07-21 20:32:42 (GMT)
committerShawn O. Pearce <spearce@spearce.org>2007-07-22 07:08:34 (GMT)
commit854ffd3046ba9776934ffea79c5aceb1d51cf3c5 (patch)
treebaaea47a860cca8526889374fdfe4b7ee4fed65a
parent54febd4fe62cc32b1337cd928af17a5a09624d74 (diff)
downloadgit-854ffd3046ba9776934ffea79c5aceb1d51cf3c5.zip
git-854ffd3046ba9776934ffea79c5aceb1d51cf3c5.tar.gz
git-854ffd3046ba9776934ffea79c5aceb1d51cf3c5.tar.bz2
git-gui: Completely remove my Tools/Migrate hack
This menu option of Tools/Migrate has been living inside of git-gui as a local hack to support some coworkers of mine. It has no value to anyone outside of my day-job team and never really should have been in a release version of git-gui. So I'm pulling it out, so that nobody else has to deal with this garbage. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
-rwxr-xr-xgit-gui.sh29
1 files changed, 0 insertions, 29 deletions
diff --git a/git-gui.sh b/git-gui.sh
index d85d707..07a478c 100755
--- a/git-gui.sh
+++ b/git-gui.sh
@@ -1895,35 +1895,6 @@ if {[is_MacOSX]} {
.mbar.edit add separator
.mbar.edit add command -label {Options...} \
-command do_options
-
- # -- Tools Menu
- #
- if {[is_Cygwin]
- && [is_enabled multicommit]
- && [file exists /usr/local/miga/lib/gui-miga]} {
- proc do_miga {} {
- if {![lock_index update]} return
- set cmd [list sh --login -c "/usr/local/miga/lib/gui-miga \"[pwd]\""]
- set miga_fd [open "|$cmd" r]
- fconfigure $miga_fd -blocking 0
- fileevent $miga_fd readable [list miga_done $miga_fd]
- ui_status {Running miga...}
- }
- proc miga_done {fd} {
- read $fd 512
- if {[eof $fd]} {
- close $fd
- unlock_index
- rescan ui_ready
- }
- }
- .mbar add cascade -label Tools -menu .mbar.tools
- menu .mbar.tools
- .mbar.tools add command -label "Migrate" \
- -command do_miga
- lappend disable_on_lock \
- [list .mbar.tools entryconf [.mbar.tools index last] -state]
- }
}
# -- Help Menu