diff options
author | Jeff King <peff@peff.net> | 2007-11-05 00:11:41 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-11-05 13:24:18 -0800 |
commit | 3b70da2b17dc5b7df644701a96a141d8f7c5ea15 (patch) | |
tree | 535acb11f65f0c76e7c2332ab364e594db00f8cf /receive-pack.c | |
parent | f76734902bba47afff622068524a0c38f642d769 (diff) | |
download | git-3b70da2b17dc5b7df644701a96a141d8f7c5ea15.tar.gz |
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 <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'receive-pack.c')
-rw-r--r-- | receive-pack.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/receive-pack.c b/receive-pack.c index 38e35c06b9..ed44b897f6 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 */ } } |