diff options
author | Johannes Sixt <johannes.sixt@telecom.at> | 2007-11-13 21:05:04 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-11-14 15:18:39 -0800 |
commit | a47d181380e70cba4e6f641e9485d202a0735c5a (patch) | |
tree | 14bcbac5ca67328641c9ca8196acf7270d8c1a30 /cache.h | |
parent | Close files opened by lock_file() before unlinking. (diff) | |
download | tgif-a47d181380e70cba4e6f641e9485d202a0735c5a.tar.xz |
Allow a relative builtin template directory.
In order to make git relocatable (i.e. not have the prefix compiled-in)
the template directory must depend on the location where this git instance
is found, which is GIT_EXEC_DIR.
The exec path is prepended only if the compiled-in default template
directory is to be used and that is relative. Any relative directories
that are specified via environment variable or the --exec-dir switch are
taken as is.
Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'cache.h')
0 files changed, 0 insertions, 0 deletions