aboutsummaryrefslogtreecommitdiff
path: root/builtin-fetch.c
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2007-09-14 03:31:11 -0400
committerJunio C Hamano <gitster@pobox.com>2007-09-19 03:22:30 -0700
commit133296f00cd441b5525ccc3e82ee13cbfc62d246 (patch)
tree60c89fdc1c0ce7337555de42630cd1ab672823ba /builtin-fetch.c
parent4ad1eada9774a1f340beb4fdf78f1735534741bb (diff)
downloadgit-133296f00cd441b5525ccc3e82ee13cbfc62d246.tar.gz
git-133296f00cd441b5525ccc3e82ee13cbfc62d246.tar.xz
Remove unnecessary debugging from builtin-fetch
The older git-fetch client did not produce all of this debugging information to stdout. Most end-users and Porcelain (e.g. StGIT, git-gui, qgit) do not want to see these low-level details on the console so they should be removed. Signed-off-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-fetch.c')
-rw-r--r--builtin-fetch.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/builtin-fetch.c b/builtin-fetch.c
index 016c6e43e..33b740cd1 100644
--- a/builtin-fetch.c
+++ b/builtin-fetch.c
@@ -370,15 +370,6 @@ static int do_fetch(struct transport *transport,
for (rm = ref_map; rm; rm = rm->next) {
if (rm->peer_ref)
read_ref(rm->peer_ref->name, rm->peer_ref->old_sha1);
-
- printf("%s : %s\n", rm->name, rm->peer_ref ? rm->peer_ref->name : NULL);
- printf(" < %s\n", sha1_to_hex(rm->old_sha1));
- if (rm->peer_ref)
- printf(" > %s\n", sha1_to_hex(rm->peer_ref->old_sha1));
- if (!rm->peer_ref ||
- hashcmp(rm->old_sha1, rm->peer_ref->old_sha1)) {
- printf("%s needs update.\n", rm->name);
- }
}
if (fetch_refs(transport, ref_map)) {