summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8a33dd8)
raw | patch | inline | side by side (parent: 8a33dd8)
author | Junio C Hamano <gitster@pobox.com> | |
Sun, 6 Jul 2008 00:58:50 +0000 (17:58 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 6 Jul 2008 01:32:36 +0000 (18:32 -0700) |
The earlier built-in conversion seems to have broken "git-clone"; this
teaches the command to honor the "-q" option again when talking to the
remote end over native transports (file://, git:// and ssh://).
Signed-off-by: Junio C Hamano <gitster@pobox.com>
teaches the command to honor the "-q" option again when talking to the
remote end over native transports (file://, git:// and ssh://).
Signed-off-by: Junio C Hamano <gitster@pobox.com>
transport.c | patch | blob | history |
diff --git a/transport.c b/transport.c
index 3ff851935ff8d018a926084b89cb31bbb3d30a07..6f549b336ba1f7c84f45bd13317949bae4f9c704 100644 (file)
--- a/transport.c
+++ b/transport.c
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++)