]> git.ipfire.org Git - thirdparty/git.git/blobdiff - http.h
Merge branch 'en/ort-perf-batch-9'
[thirdparty/git.git] / http.h
diff --git a/http.h b/http.h
index 5de792ef3fe1dd8597c9b890a120eeacd2eb4994..bf3d1270ad8e2f0bd11b76baa183987f7b44d6f7 100644 (file)
--- a/http.h
+++ b/http.h
@@ -218,12 +218,12 @@ struct http_pack_request {
        char *url;
 
        /*
-        * If this is true, finish_http_pack_request() will pass "--keep" to
-        * index-pack, resulting in the creation of a keep file, and will not
-        * suppress its stdout (that is, the "keep\t<hash>\n" line will be
-        * printed to stdout).
+        * index-pack command to run. Must be terminated by NULL.
+        *
+        * If NULL, defaults to {"index-pack", "--stdin", NULL}.
         */
-       unsigned generate_keep : 1;
+       const char **index_pack_args;
+       unsigned preserve_index_pack_stdout : 1;
 
        FILE *packfile;
        struct strbuf tmpfile;