@matheusbsbs / matheus-bagliano / commits / 63c4024ff0
Fork 0

git-gui: Don't delete send on Windows as it doesn't exist

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>

Shawn O. Pearce committed Sep 11, 2007 at 13:37 UTC 63c4024ff080430004967fa27b8af8fe243e2ea3
1 file changed +1 -1
git-gui.sh
+1 -1
@@ -42,7 +42,7 @@ if {[catch {package require Tcl 8.4} err]
42 exit 1
43 }
44
45 -rename send {} ; # What an evil concept...
45 +catch {rename send {}} ; # What an evil concept...
46
47 ######################################################################
48 ##