author | Steffen Prohaska <prohaska@zib.de> | |
Sun, 18 Jan 2009 12:00:12 +0000 (13:00 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 26 Jan 2009 08:26:05 +0000 (00:26 -0800) | ||
commit | 2fb3f6db96492b680899f9e40f434eeb4c778a84 | |
tree | 34fc6bc48403648216d8864fabcf28effb14c15a | tree | snapshot |
parent | 2cd72b0b290e40fb4d6a925ce26603503f01aa09 | commit | diff |
Add calls to git_extract_argv0_path() in programs that call git_config_*
Programs that use git_config need to find the global configuration.
When runtime prefix computation is enabled, this requires that
git_extract_argv0_path() is called early in the program's main().
This commit adds the necessary calls.
Signed-off-by: Steffen Prohaska <prohaska@zib.de>
Acked-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Programs that use git_config need to find the global configuration.
When runtime prefix computation is enabled, this requires that
git_extract_argv0_path() is called early in the program's main().
This commit adds the necessary calls.
Signed-off-by: Steffen Prohaska <prohaska@zib.de>
Acked-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
16 files changed:
daemon.c | diff | blob | history | |
fast-import.c | diff | blob | history | |
hash-object.c | diff | blob | history | |
http-push.c | diff | blob | history | |
imap-send.c | diff | blob | history | |
index-pack.c | diff | blob | history | |
merge-index.c | diff | blob | history | |
merge-tree.c | diff | blob | history | |
mktag.c | diff | blob | history | |
mktree.c | diff | blob | history | |
pack-redundant.c | diff | blob | history | |
patch-id.c | diff | blob | history | |
unpack-file.c | diff | blob | history | |
update-server-info.c | diff | blob | history | |
upload-pack.c | diff | blob | history | |
var.c | diff | blob | history |