]> git.ipfire.org Git - thirdparty/git.git/blobdiff - send-pack.c
Merge branch 'al/t3200-back-on-a-branch'
[thirdparty/git.git] / send-pack.c
index d671ab5d05c5dfd5acb1c597f68caf58d98dca9b..632f1580cab9acd38daaa25e3f7172e098410f56 100644 (file)
@@ -68,20 +68,20 @@ static int pack_objects(int fd, struct ref *refs, struct oid_array *extra, struc
        int i;
        int rc;
 
-       argv_array_push(&po.args, "pack-objects");
-       argv_array_push(&po.args, "--all-progress-implied");
-       argv_array_push(&po.args, "--revs");
-       argv_array_push(&po.args, "--stdout");
+       strvec_push(&po.args, "pack-objects");
+       strvec_push(&po.args, "--all-progress-implied");
+       strvec_push(&po.args, "--revs");
+       strvec_push(&po.args, "--stdout");
        if (args->use_thin_pack)
-               argv_array_push(&po.args, "--thin");
+               strvec_push(&po.args, "--thin");
        if (args->use_ofs_delta)
-               argv_array_push(&po.args, "--delta-base-offset");
+               strvec_push(&po.args, "--delta-base-offset");
        if (args->quiet || !args->progress)
-               argv_array_push(&po.args, "-q");
+               strvec_push(&po.args, "-q");
        if (args->progress)
-               argv_array_push(&po.args, "--progress");
+               strvec_push(&po.args, "--progress");
        if (is_repository_shallow(the_repository))
-               argv_array_push(&po.args, "--shallow");
+               strvec_push(&po.args, "--shallow");
        po.in = -1;
        po.out = args->stateless_rpc ? -1 : fd;
        po.git_cmd = 1;