Add calls to git_extract_argv0_path() in programs that call git_config_*
commita0489201ee44060dbb680721ee8d84477b1784f4
authorSteffen Prohaska <prohaska@zib.de>
Sun, 17 Aug 2008 06:58:21 +0000 (17 08:58 +0200)
committerSteffen Prohaska <prohaska@zib.de>
Thu, 25 Dec 2008 12:32:31 +0000 (25 13:32 +0100)
tree91b6364af0ef3c5dd473d413c93506411689f3c3
parent58a81201fadc12d0d1e5fc86c219fb441baaa188
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.
15 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
var.c