Skip to contentSkip to conversation

Remove more debugging from builtin-fetch

PATCH In review Shawn O. Pearce 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 3/3 Remove more debugging from builtin-fetch

Older git-fetch.sh doesn't print "ref: X" when invoked as `git fetch $url X" so we shouldn't do that now in the new builtin version.

---
 builtin-fetch.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
builtin-fetch.c +0 -2
index d9272ed..20926e0 100644
@@ -530,8 +530,6 @@ int cmd_fetch(int argc, const char **argv, const char *prefix)
 		}
 		refs[j] = NULL;
 		ref_nr = j;
-		for (j = 0; refs[j]; j++)
-			printf("ref: %s\n", refs[j]);
 	}
 
 	signal(SIGINT, unlock_pack_on_signal);
Signature · 1 line
1.5.3.1.1000.g7319b