From: Florian Achleitner Date: Wed, 19 Sep 2012 15:21:21 +0000 (+0200) Subject: When debug==1, start fast-import with "--stats" instead of "--quiet" X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=19ba02af476a1d17308f06bc78544d712923ed60;p=git.git 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 --- 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);