Re: [PATCH v7 0/3] RUNTIME_PREFIX relocatable Git
- From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
- Date
- Mar 25, 2018, 21:15 UTC
- Message-ID
- <877epzyi0b.fsf@evledraar.gmail.com>
- In-Reply-To
- <20180325205120.17730-1-dnj@google.com>
On Sun, Mar 25 2018, Dan Jacques wrote:
Show 13 quoted lines
> This patch set expands support for the RUNTIME_PREFIX configuration flag, > currently only used on Windows builds, to include Linux, Darwin, and > FreeBSD. When Git is built with RUNTIME_PREFIX enabled, it resolves its > ancillary paths relative to the runtime location of its executable > rather than hard-coding them at compile-time, allowing a Git > installation to be deployed to a path other than the one in which it > was built/installed. > > Note that RUNTIME_PREFIX is not currently used outside of Windows. > This patch set should not have an impact on default Git builds. > > This is a minor update based on comments from the v6 series. If all's > well, I'm hoping this set is good to go.
This looks good to me this time around, couple of small nits (maybe Junio can amend while queuing):
* You add a dependnecy typo in 2/3 but fix it again in 3/3. Should be squashed.
* s/\Q${gitexecdir_relative}\E$// in 2/3 can be done less verbosely as
s/\Q$gitexecdir_relative\E$//. Discussed before in
https://public-inbox.org/git/CAD1RUU-3Q_SYvJorU+vEY2-0CPMZ1eL-41Z6eL7Sq4USiJ0U+w@mail.gmail.com/
seems like something you just forgot about.