threads / patch / 9876

patch, 3 partsRemove more debugging from builtin-fetch

Subject: [PATCH 3/3] Remove more debugging from builtin-fetch

## tl;dr

One message between Sep 16, 2007 and Sep 16, 2007. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Shawn O. Pearce· Sep 16, 2007, 06:32 UTC · lore

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.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
---
 builtin-fetch.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
Show changes to builtin-fetch.c +0 −2
diff --git a/builtin-fetch.c b/builtin-fetch.c
index d9272ed..20926e0 100644
--- a/builtin-fetch.c
+++ b/builtin-fetch.c
@@ -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);
-- 
1.5.3.1.1000.g7319b

← back to recent threads