aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--builtin-fetch-pack.c2
-rw-r--r--builtin-fetch.c9
2 files changed, 0 insertions, 11 deletions
diff --git a/builtin-fetch-pack.c b/builtin-fetch-pack.c
index 3b217d96f..e77cd2671 100644
--- a/builtin-fetch-pack.c
+++ b/builtin-fetch-pack.c
@@ -767,8 +767,6 @@ struct ref *fetch_pack(const char *dest, int nr_heads, char **heads)
st.st_mtime = 0;
}
- printf("connect to %s\n", dest);
-
pid = git_connect(fd, (char *)dest, uploadpack,
verbose ? CONNECT_VERBOSE : 0);
if (pid < 0)
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)) {