]> git.ipfire.org Git - thirdparty/git.git/commit - http-push.c
Add calls to git_extract_argv0_path() in programs that call git_config_*
authorSteffen Prohaska <prohaska@zib.de>
Sun, 18 Jan 2009 12:00:12 +0000 (13:00 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 26 Jan 2009 08:26:05 +0000 (00:26 -0800)
commit2fb3f6db96492b680899f9e40f434eeb4c778a84
tree34fc6bc48403648216d8864fabcf28effb14c15a
parent2cd72b0b290e40fb4d6a925ce26603503f01aa09
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>
16 files changed:
daemon.c
fast-import.c
hash-object.c
http-push.c
imap-send.c
index-pack.c
merge-index.c
merge-tree.c
mktag.c
mktree.c
pack-redundant.c
patch-id.c
unpack-file.c
update-server-info.c
upload-pack.c
var.c