Skip to content

Commit 2d8bed9

Browse files
committed
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 <[email protected]>
1 parent 30c0312 commit 2d8bed9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builtin-fetch-pack.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ static const unsigned char* get_rev(void)
123123
return NULL;
124124

125125
commit = rev_list->item;
126-
if (commit->object.parsed)
126+
if (!commit->object.parsed)
127127
parse_commit(commit);
128128
parents = commit->parents;
129129

0 commit comments

Comments
 (0)