remote-curl: add missing initialization of argv0_path
authorJohannes Sixt <redacted>
Tue, 13 Oct 2009 10:53:28 +0000 (12:53 +0200)
committerJunio C Hamano <redacted>
Wed, 14 Oct 2009 06:24:58 +0000 (23:24 -0700)
commitc6dfb399448f6de17ce417052f1bb345c9e022c9
tree0a3291cfa525c26aa52976ad984363c60211c00a
parent6ff9ae9f97101c30897332f608f35ad232b1faf2
remote-curl: add missing initialization of argv0_path

All programs, in particular also the 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, such as the MinGW build.
Without this call, the program segfaults (or raises an assertion
failure).

Signed-off-by: Johannes Sixt <redacted>
Tested-by: Michael Wookey <redacted>
Signed-off-by: Junio C Hamano <redacted>
remote-curl.c
git clone https://git.99rst.org/PROJECT