mirror of
https://github.com/git/git.git
synced 2024-11-24 10:26:17 +08:00
send-pack: require --verbose to show update of tracking refs
This is really an uninteresting detail, and it just takes attention away from the actual push updates and posssible errors. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
3b70da2b17
commit
b50fa2bd06
@ -195,7 +195,8 @@ static void update_tracking_ref(struct remote *remote, struct ref *ref)
|
||||
return;
|
||||
|
||||
if (!remote_find_tracking(remote, &rs)) {
|
||||
fprintf(stderr, "updating local tracking ref '%s'\n", rs.dst);
|
||||
if (args.verbose)
|
||||
fprintf(stderr, "updating local tracking ref '%s'\n", rs.dst);
|
||||
if (is_null_sha1(ref->peer_ref->new_sha1)) {
|
||||
if (delete_ref(rs.dst, NULL))
|
||||
error("Failed to delete");
|
||||
|
Loading…
Reference in New Issue
Block a user