Browse Source

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>
maint
Jeff King 18 years ago committed by Junio C Hamano
parent
commit
b50fa2bd06
  1. 1
      builtin-send-pack.c

1
builtin-send-pack.c

@ -195,6 +195,7 @@ static void update_tracking_ref(struct remote *remote, struct ref *ref) @@ -195,6 +195,7 @@ static void update_tracking_ref(struct remote *remote, struct ref *ref)
return;

if (!remote_find_tracking(remote, &rs)) {
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))

Loading…
Cancel
Save