summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 228e7b5)
raw | patch | inline | side by side (parent: 228e7b5)
author | Jeff King <peff@peff.net> | |
Mon, 31 Aug 2009 19:28:34 +0000 (15:28 -0400) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 3 Sep 2009 02:47:50 +0000 (19:47 -0700) |
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>
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>
transport.c | patch | blob | history |
diff --git a/transport.c b/transport.c
index f7e1663d18087f708da926d0978a4a3377ae2b50..d6c35d91ce443c19353f43356c5371741d08ddf3 100644 (file)
--- a/transport.c
+++ b/transport.c
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;
}