Re: [PATCH v2] git-gui: add mingw specific startup wrapper
- From
Shawn O. Pearce <spearce@spearce.org>
- Date
- Oct 10, 2007, 08:02 UTC
- Message-ID
- <20071010080256.GR2137@spearce.org>
- In-Reply-To
- <11919995392881-git-send-email-prohaska@zib.de>
Steffen Prohaska <prohaska@zib.de> 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.
Show 5 quoted lines
> +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.