summaryrefslogtreecommitdiff
path: root/t/helper/test-subprocess.c
diff options
context:
space:
mode:
Diffstat (limited to 't/helper/test-subprocess.c')
-rw-r--r--t/helper/test-subprocess.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/helper/test-subprocess.c b/t/helper/test-subprocess.c
index 92b69de..ff22f2f 100644
--- a/t/helper/test-subprocess.c
+++ b/t/helper/test-subprocess.c
@@ -15,6 +15,6 @@ int cmd__subprocess(int argc, const char **argv)
argv++;
}
cp.git_cmd = 1;
- cp.argv = (const char **)argv + 1;
+ strvec_pushv(&cp.args, (const char **)argv + 1);
return run_command(&cp);
}