зеркало из https://github.com/microsoft/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 <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Родитель
228e7b5d4d
Коммит
2e5ed5f21b
|
@ -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;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче