Make git fully relocatable at runtime extending the runtime prefix
calculation. Handle absolute and relative paths in argv0. Handle no path
at all in argv0 in a system-specific manner. Replace assertions with
initialised variables and checks that lead to fallback to the static
prefix.
---
Notes:
Hi,
On Fri, Apr 15, 2016 at 09:43:29AM -0700, Junio C Hamano wrote:
> We tend to avoid system specific includes in individual *.c files.
> Perhaps implement platform specific bits in compat/? E.g. each
> platform specific file in compat/ may implement and export the same
> git_extract_argv_path
Hi,
On Wed, Apr 17, 2013 at 08:06:47AM +0200, Michael Weiser wrote:
> > >> >> Support determining the binaries' installation path at runtime even if
> > >> >> called without any path components (i.e. via search path).
> > What's the reason y
Support determining the binaries' installation path at runtime even if
called without any path components (i.e. via search path). Implement
fallback to compiled-in prefix if determination fails or is impossible.
Signed-off-by: Michael Weiser
---
- Has two very minor memory leaks - functi
in place. So I guess this should be added in a separate
patch by someone actually in need of it and in a position to develop and
test it?
Thanks,
--
Michael Weiserscience + computing ag
Senior Systems Engineer Geschaeftsstelle Duesseldorf
Martins
Hello Junio,
Hello list,
On Wed, Mar 06, 2013 at 09:19:42AM +0100, Michael Weiser 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 cha
it. Perl's done it and I've already needed that as
well - on Mac OS X.
Thanks,
--
Michael Weiserscience + computing ag
Senior Systems Engineer Geschaeftsstelle Duesseldorf
Martinstrasse 47-55, Haus A
phone: +49 211 302 708 32
Hello,
On Tue, Nov 27, 2012 at 05:30:04PM +0100, Michael Weiser wrote:
> Support determining the binaries' installation path at runtime even if
> called without any path components (i.e. via search path). Implement
> fallback to compiled-in prefix if determination fails or is impo
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.
Thanks,
--
Michael Weiserscience + computing ag
Senior Systems Engineer
9 matches
Mail list logo