Skip to content

Commit c794405

Browse files
derrickstoleegitster
authored andcommitted
commit-graph: fix the_repository reference
The parse_commit_buffer() method takes a repository pointer, so it should not refer to the_repository anymore. Signed-off-by: Derrick Stolee <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 93b4405 commit c794405

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

commit.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ int parse_commit_buffer(struct repository *r, struct commit *item, const void *b
443443
item->date = parse_commit_date(bufptr, tail);
444444

445445
if (check_graph)
446-
load_commit_graph_info(the_repository, item);
446+
load_commit_graph_info(r, item);
447447

448448
return 0;
449449
}

0 commit comments

Comments
 (0)