diff options
author | Jeff King <peff@peff.net> | 2009-08-31 15:28:34 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-09-02 19:47:50 -0700 |
commit | 2e5ed5f21b5b978268d7e4823fe777fdff20f544 (patch) | |
tree | ba302df22e02d20dd796c4a82c8808c091ebe213 /transport.c | |
parent | 228e7b5d4d6eca8616c7dc3d979478909dbdbfd1 (diff) | |
download | git-2e5ed5f21b5b978268d7e4823fe777fdff20f544.tar.gz |
push: teach --quiet to suppress "Everything up-to-date"
This should have been part of 481c7a6, whose goal was to
make "git push -q" silent unless there is an error.
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/transport.c b/transport.c index f7e1663d18..d6c35d91ce 100644 --- a/transport.c +++ b/transport.c @@ -1042,7 +1042,7 @@ int transport_push(struct transport *transport, update_tracking_ref(transport->remote, ref, verbose); } - if (!ret && !refs_pushed(remote_refs)) + if (!quiet && !ret && !refs_pushed(remote_refs)) fprintf(stderr, "Everything up-to-date\n"); return ret; } |