Skip to content

Commit

Permalink
git-gui: Don't delete send on Windows as it doesn't exist
Browse files Browse the repository at this point in the history
The Windows port of Tk does not have the send command so we
cannot delete it from our global namespace, but the Mac OS
X and X11 ports do have it.  Switching this delete attempt
into a catch makes send go away, or stay away.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
  • Loading branch information
Shawn O. Pearce committed Sep 11, 2007
1 parent 8938410 commit 63c4024
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-gui.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ if {[catch {package require Tcl 8.4} err]
exit 1
}

rename send {} ; # What an evil concept...
catch {rename send {}} ; # What an evil concept...

######################################################################
##
Expand Down

0 comments on commit 63c4024

Please sign in to comment.