Commits

Junio C Hamano  committed 2d8bed9

fetch-pack: brown paper bag fix

When I applied Linus's patch from the list by hand somehow I ended
up reversing the logic by mistake. This fixes it.

Signed-off-by: Junio C Hamano <gitster@pobox.com>

  • Participants
  • Parent commits 30c0312

Comments (0)

Files changed (1)

File builtin-fetch-pack.c

 			return NULL;
 
 		commit = rev_list->item;
-		if (commit->object.parsed)
+		if (!commit->object.parsed)
 			parse_commit(commit);
 		parents = commit->parents;