Skip to content

Commit 19ba02a

Browse files
flyingflogitster
authored andcommitted
When debug==1, start fast-import with "--stats" instead of "--quiet"
fast-import prints statistics that could be interesting to the developer of remote helpers. Signed-off-by: Florian Achleitner <[email protected]> Acked-by: David Michael Barr <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 271bfd6 commit 19ba02a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

transport-helper.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ static int get_importer(struct transport *transport, struct child_process *fasti
385385
memset(fastimport, 0, sizeof(*fastimport));
386386
fastimport->in = helper->out;
387387
argv_array_push(&argv, "fast-import");
388-
argv_array_push(&argv, "--quiet");
388+
argv_array_push(&argv, debug ? "--stats" : "--quiet");
389389

390390
if (data->bidi_import) {
391391
cat_blob_fd = xdup(helper->in);

0 commit comments

Comments
 (0)