Re: [PATCH] Extend runtime prefix computation
- From
Erik Faye-Lund <kusmabite@gmail.com>
- Date
- Apr 16, 2013, 15:18 UTC
- Message-ID
- <CABPQNSbd_baEe7pstZPSdNQQCAUMBCgV2FGcszy-8zoeuD+M5w@mail.gmail.com>
- In-Reply-To
- <20130306081942.GA11151@science-computing.de>
On Wed, Mar 6, 2013 at 9:19 AM, Michael Weiser <M.Weiser@science-computing.de> wrote:
Show 13 quoted lines
> Hello Junio, > > On Tue, Mar 05, 2013 at 08:13:50AM -0800, Junio C Hamano wrote: > >> >> Support determining the binaries' installation path at runtime even if >> >> called without any path components (i.e. via search path). > >> The default for any change is not to include it. Is there any >> reason why we want this change? > > It makes a binary git installation fully relocatable. Seeing how git > already has basic support for it I thought other people might be > interested in this.
I think the motivation for the feature in the first place is Windows, where the installation path isn't known at build-time. In the unix-world, this is generally known (/usr/bin or something like that). What's the reason you want it on other platforms?