From: Jeff King Date: Mon, 31 Aug 2009 19:28:34 +0000 (-0400) Subject: push: teach --quiet to suppress "Everything up-to-date" X-Git-Tag: v1.6.5-rc0~11 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=2e5ed5f21b5b978268d7e4823fe777fdff20f544;p=git.git 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 Signed-off-by: Junio C Hamano --- diff --git a/transport.c b/transport.c index f7e1663d1..d6c35d91c 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; }