Skip to content

Commit

Permalink
When debug==1, start fast-import with "--stats" instead of "--quiet"
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Florian Achleitner authored and Junio C Hamano committed Oct 7, 2012
1 parent 271bfd6 commit 19ba02a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion transport-helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 19ba02a

Please sign in to comment.