From: Jeff King Date: Mon, 5 Nov 2007 05:11:41 +0000 (-0500) Subject: receive-pack: don't mention successful updates X-Git-Tag: v1.5.4-rc0~152^2~8^2~5^2~2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3b70da2b17dc5b7df644701a96a141d8f7c5ea15;p=git.git receive-pack: don't mention successful updates The proposed updates are already shown to the user by send-pack, so there's no point. We continue to show errors, since they are unexpected. Signed-off-by: Jeff King Signed-off-by: Junio C Hamano --- diff --git a/receive-pack.c b/receive-pack.c index 38e35c06b..ed44b897f 100644 --- a/receive-pack.c +++ b/receive-pack.c @@ -204,8 +204,6 @@ static const char *update(struct command *cmd) error("failed to delete %s", name); return "failed to delete"; } - fprintf(stderr, "%s: %s -> deleted\n", name, - sha1_to_hex(old_sha1)); return NULL; /* good */ } else { @@ -217,8 +215,6 @@ static const char *update(struct command *cmd) if (write_ref_sha1(lock, new_sha1, "push")) { return "failed to write"; /* error() already called */ } - fprintf(stderr, "%s: %s -> %s\n", name, - sha1_to_hex(old_sha1), sha1_to_hex(new_sha1)); return NULL; /* good */ } }