summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f767349)
raw | patch | inline | side by side (parent: f767349)
author | Jeff King <peff@peff.net> | |
Mon, 5 Nov 2007 05:11:41 +0000 (00:11 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 5 Nov 2007 21:24:18 +0000 (13:24 -0800) |
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>
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>
receive-pack.c | patch | blob | history |
diff --git a/receive-pack.c b/receive-pack.c
index 38e35c06b9e73376adde597c4fe28490a2e886b1..ed44b897f67a0ef051fa1bf205b2bb5747a1bd67 100644 (file)
--- a/receive-pack.c
+++ b/receive-pack.c
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 {
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 */
}
}