summaryrefslogtreecommitdiff
path: root/hash.c
diff options
context:
space:
mode:
authorLibravatar Dima Sharov <git.avalakvista@gmail.com>2011-05-05 09:40:17 +0300
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-05-05 09:32:28 -0700
commit2d9932cf67a886c8f356603b9ffd81832cc1850f (patch)
treea54b3861e7c99e8814e530888c843ef74a5b09fc /hash.c
parentGit 1.7.5.1 (diff)
downloadtgif-2d9932cf67a886c8f356603b9ffd81832cc1850f.tar.xz
shell: add missing initialization of argv0_path
According to c6dfb39 (remote-curl: add missing initialization of argv0_path, 2009-10-13), stand-alone programs (non-builtins) must call git_extract_argv0_path(argv[0]) in order to help builds that derive the installation prefix at runtime. Without this call, the program segfaults (or raises an assertion failure). Signed-off-by: Dima Sharov <git.avalakvista@gmail.com> Acked-by: Johannes Sixt <j6t@kdbg.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'hash.c')
0 files changed, 0 insertions, 0 deletions