revision --simplify-merges: use decoration instead of commit->util field
[gitweb.git] / transport.c
index 4145eed9794a956b05967f049fe2caedcaa67feb..6eb65b873afc9dfd457e974b63d88350bb8dc913 100644 (file)
@@ -645,7 +645,9 @@ static int fetch_refs_via_pack(struct transport *transport,
        args.lock_pack = 1;
        args.use_thin_pack = data->thin;
        args.include_tag = data->followtags;
-       args.verbose = transport->verbose > 0;
+       args.verbose = (transport->verbose > 0);
+       args.quiet = args.no_progress = (transport->verbose < 0);
+       args.no_progress = !isatty(1);
        args.depth = data->depth;
 
        for (i = 0; i < nr_heads; i++)