diff options
author | Jeff King <peff@peff.net> | 2009-08-31 21:28:34 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-09-03 04:47:50 +0200 |
commit | 2e5ed5f21b5b978268d7e4823fe777fdff20f544 (patch) | |
tree | ba302df22e02d20dd796c4a82c8808c091ebe213 /transport.c | |
parent | status: list unmerged files much later (diff) | |
download | git-2e5ed5f21b5b978268d7e4823fe777fdff20f544.tar.xz git-2e5ed5f21b5b978268d7e4823fe777fdff20f544.zip |
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 '')
-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; } |