From: Shawn O. Pearce Date: Wed, 10 Oct 2007 08:02:56 GMT Subject: Re: [PATCH v2] git-gui: add mingw specific startup wrapper Message-ID: <20071010080256.GR2137@spearce.org> In-Reply-To: <11919995392881-git-send-email-prohaska@zib.de> Steffen Prohaska wrote: > The wrapper adds the directory it is installed in to PATH. > This is required for the git commands implemented in shell. > git-gui fails to launch them if PATH is not modified. Thanks, I have both of these applied now to master and will push it out shortly, along with the mingw version fix you had sent me much earlier. > +if { $argc >=2 && [lindex $argv 0] == "--working-dir" } { > + cd [lindex $argv 1] > + set argv [lrange $argv 2 end] > + incr argc -2 > +} Perhaps someday in the future we'll put this into git-gui.sh so all platforms can use it. Today, its Windows only. ;-) -- Shawn.