git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Shawn O. Pearce <spearce@spearce.org>
Date
Sep 16, 2007, 06:32 UTC
Message-ID
<20070916063217.GC6487@spearce.org>

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(-)
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
Message 1 of 1 in “Remove more debugging from builtin-fetch”
  1. 3/3 Remove more debugging from builtin-fetchShawn O. Pearce, Sep 16, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.