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 wei...@science-computing.de
---
- Has two very minor
a GetModuleFileName(NULL, ...) for Windows is in place here?
Agreed. However, I do not use git on Windows and don't have a Windows
devel toolchain 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
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 impossible.
I see
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 Geschaeftsstelle Duesseldorf
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 change is not to include it. Is there any
,
--
Michael Weiserscience + computing ag
Senior Systems Engineer Geschaeftsstelle Duesseldorf
Martinstrasse 47-55, Haus A
phone: +49 211 302 708 32 D-40223 Duesseldorf
fax: +49 211 302 708 50 www.science-computing.de
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 you want it on other platforms?
It's part of an in-house
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
>
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:
9 matches
Mail list logo