summaryrefslogtreecommitdiff
path: root/transport.c
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2009-08-05 16:22:36 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-08-05 20:14:09 -0700
commit120703292b2828d3c35c937b7f5e75ec570a42e9 (patch)
tree577e2cab5b6e57cbc88b8c7a9f4d5a6a79d61f5a /transport.c
parentpush: add --quiet flag (diff)
downloadtgif-120703292b2828d3c35c937b7f5e75ec570a42e9.tar.xz
transport: pass "quiet" flag to pack-objects
When pushing over the git protocol, pack-objects gives progress reports about the pack being sent. If "push" is given the --quiet flag, it now passes "-q" to pack-objects, suppressing this output. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'transport.c')
-rw-r--r--transport.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/transport.c b/transport.c
index de0d5874a3..c3191ed201 100644
--- a/transport.c
+++ b/transport.c
@@ -892,6 +892,7 @@ static int git_transport_push(struct transport *transport, struct ref *remote_re
args.force_update = !!(flags & TRANSPORT_PUSH_FORCE);
args.use_thin_pack = data->thin;
args.verbose = !!(flags & TRANSPORT_PUSH_VERBOSE);
+ args.quiet = !!(flags & TRANSPORT_PUSH_QUIET);
args.dry_run = !!(flags & TRANSPORT_PUSH_DRY_RUN);
ret = send_pack(&args, data->fd, data->conn, remote_refs,