t5702: use test_commit_bulk
[gitweb.git] / transport-helper.c
index cec83bd663d0f27589bd09176e38b084270f56c4..c7e17ec9cb61e6782bc255e6b90381054255c269 100644 (file)
@@ -423,7 +423,7 @@ static int get_importer(struct transport *transport, struct child_process *fasti
        struct helper_data *data = transport->data;
        int cat_blob_fd, code;
        child_process_init(fastimport);
-       fastimport->in = helper->out;
+       fastimport->in = xdup(helper->out);
        argv_array_push(&fastimport->args, "fast-import");
        argv_array_push(&fastimport->args, debug ? "--stats" : "--quiet");