Re: [PATCH v2 2/2] system_path(): simplify using strip_path_suffix(), and add suffix "git"
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Feb 19, 2009, 20:48 UTC
- Message-ID
- <alpine.DEB.1.00.0902192147180.6223@intel-tinevez-2-302>
- In-Reply-To
- <499DC375.60105@kdbg.org>
Hi,
On Thu, 19 Feb 2009, Johannes Sixt wrote:
Show 11 quoted lines
> Johannes Schindelin schrieb: > > The real change is to add the suffix "git", so that a runtime prefix will > > be computed correctly even when the executable was called in /git/ as is > > the case in msysGit (Windows insists to search the current directory > > before the PATH when looking for an executable). > > msysgit is important enough to be supported by upstream git, in particular > since it is *the* user of RUNTIME_PREFIX, so that this special-casing is > warranted. Therefore: > > Acked-by: Johannes Sixt <j6t@kdbg.org>
Thanks.
Note, however, that IMHO RUNTIME_PREFIX would be good for non-Windows, too, as it would make Git relocatable.
Ciao, Dscho