diff options
author | Johannes Sixt <johannes.sixt@telecom.at> | 2008-07-21 21:19:52 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-07-25 17:41:13 -0700 |
commit | e1464ca7bb0d705210ba7198f004b2fb2b807e12 (patch) | |
tree | 853d900a35dffa52c1001f3408eca528229afe5c /pack-check.c | |
parent | Makefile: Normalize $(bindir) and $(gitexecdir) before comparing (diff) | |
download | tgif-e1464ca7bb0d705210ba7198f004b2fb2b807e12.tar.xz |
Record the command invocation path early
We will need the command invocation path in system_path(). This path was
passed to setup_path(), but system_path() can be called earlier, for
example via:
main
commit_pager_choice
setup_pager
git_config
git_etc_gitconfig
system_path
Therefore, we introduce git_set_argv0_path() and call it as soon as
possible.
Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'pack-check.c')
0 files changed, 0 insertions, 0 deletions