Remove more debugging from builtin-fetch
authorShawn O. Pearce <spearce@spearce.org>
Sun, 16 Sep 2007 06:32:17 +0000 (02:32 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 19 Sep 2007 10:22:31 +0000 (03:22 -0700)
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>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-fetch.c

index d9272edae92921f51f139e5e60c89882f07bc362..20926e05439d7fb5c2a79374225a89d8aa7fa79a 100644 (file)
@@ -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);