From 19ba02af476a1d17308f06bc78544d712923ed60 Mon Sep 17 00:00:00 2001 From: Florian Achleitner Date: Wed, 19 Sep 2012 17:21:21 +0200 Subject: [PATCH] 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 Acked-by: David Michael Barr Signed-off-by: Junio C Hamano --- transport-helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transport-helper.c b/transport-helper.c index 3523f1ff5..4713b6930 100644 --- a/transport-helper.c +++ b/transport-helper.c @@ -385,7 +385,7 @@ static int get_importer(struct transport *transport, struct child_process *fasti memset(fastimport, 0, sizeof(*fastimport)); fastimport->in = helper->out; argv_array_push(&argv, "fast-import"); - argv_array_push(&argv, "--quiet"); + argv_array_push(&argv, debug ? "--stats" : "--quiet"); if (data->bidi_import) { cat_blob_fd = xdup(helper->in); -- 2.26.2