Skip to content

Commit

Permalink
fetch-pack: brown paper bag fix
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Junio C Hamano committed Apr 30, 2008
1 parent 30c0312 commit 2d8bed9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builtin-fetch-pack.c
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ static const unsigned char* get_rev(void)
return NULL;

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

Expand Down

0 comments on commit 2d8bed9

Please sign in to comment.