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 <dstolee@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Derrick Stolee committed
May 9, 2019 at 07:22 UTC
c7944050af45c7384f97c712cb4d126672c7cfa6
1 file changed
+1
-1
commit.c
+1
-1
@@ -443,7 +443,7 @@ int parse_commit_buffer(struct repository *r, struct commit *item, const void *b
443
item->date = parse_commit_date(bufptr, tail);
444
445
if (check_graph)
446
- load_commit_graph_info(the_repository, item);
446
+ load_commit_graph_info(r, item);
447
448
return 0;
449
}