summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--transport.c2
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;
}