Skip to content

Commit f383959

Browse files
spearcegitster
authored andcommitted
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. Signed-off-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent ad23603 commit f383959

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

builtin-fetch.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -530,8 +530,6 @@ int cmd_fetch(int argc, const char **argv, const char *prefix)
530530
}
531531
refs[j] = NULL;
532532
ref_nr = j;
533-
for (j = 0; refs[j]; j++)
534-
printf("ref: %s\n", refs[j]);
535533
}
536534

537535
signal(SIGINT, unlock_pack_on_signal);

0 commit comments

Comments
 (0)