X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=receive-pack.c;h=eae31e370d44988b9a8ee9ddb6c3191b4f18bf3e;hb=c8568e139ed2149fbfb7ef9a8d819d5b6b7c554f;hp=f847ec2b54b74e2b9bee7bde8fccbaa8ee569573;hpb=7cb038a692ec0bdc0f442380678e8e87e26d4e68;p=git.git diff --git a/receive-pack.c b/receive-pack.c index f847ec2b..eae31e37 100644 --- a/receive-pack.c +++ b/receive-pack.c @@ -6,7 +6,7 @@ static const char receive_pack_usage[] = "git-receive-pack "; -static const char unpacker[] = "git-unpack-objects"; +static char *unpacker[] = { "unpack-objects", NULL }; static int report_status = 0; @@ -257,7 +257,7 @@ static void read_head_info(void) static const char *unpack(int *error_code) { - int code = run_command(unpacker, NULL); + int code = run_command_v_opt(1, unpacker, RUN_GIT_CMD); *error_code = 0; switch (code) {