diff options
author | Florian Achleitner <florian.achleitner.2.6.31@gmail.com> | 2012-09-19 17:21:21 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-10-07 14:10:17 -0700 |
commit | 19ba02af476a1d17308f06bc78544d712923ed60 (patch) | |
tree | 224494c8176a0247aa1a0af6d67386bbb1e6614f /transport-helper.c | |
parent | 271bfd678bb0397dfc6e0dc599c134eb6e782511 (diff) | |
download | git-19ba02af476a1d17308f06bc78544d712923ed60.tar.gz |
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 <florian.achleitner.2.6.31@gmail.com>
Acked-by: David Michael Barr <b@rr-dav.id.au>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'transport-helper.c')
-rw-r--r-- | transport-helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/transport-helper.c b/transport-helper.c index 3523f1ff56..4713b69302 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); |