diff options
author | Dima Sharov <git.avalakvista@gmail.com> | 2011-05-05 09:40:17 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-05-05 09:32:28 -0700 |
commit | 2d9932cf67a886c8f356603b9ffd81832cc1850f (patch) | |
tree | a54b3861e7c99e8814e530888c843ef74a5b09fc /t/t7006-pager.sh | |
parent | Git 1.7.5.1 (diff) | |
download | tgif-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 't/t7006-pager.sh')
0 files changed, 0 insertions, 0 deletions