Code

Allow ETC_GITCONFIG to be a relative path.
authorJohannes Sixt <johannes.sixt@telecom.at>
Tue, 13 Nov 2007 20:05:06 +0000 (21:05 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 14 Nov 2007 23:18:39 +0000 (15:18 -0800)
commit7f0e39faa2929541f61039be96d3f40f74207585
tree6fa0823ba8882f26aa75d2339299e1b23c69d299
parent506b17b136ba8ee29098c2ee26b94f527cea9ebc
Allow ETC_GITCONFIG to be a relative path.

If ETC_GITCONFIG is not an absolute path, interpret it relative to
--exec-dir. This makes the installed binaries relocatable because the
prefix is not compiled-in.

Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
config.c