From: Derrick Stolee Date: Thu, 9 May 2019 14:22:31 +0000 (-0700) Subject: commit-graph: fix the_repository reference X-Git-Tag: v2.23.0-rc0~86^2~10 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c7944050af45c7384f97c712cb4d126672c7cfa6;p=thirdparty%2Fgit.git 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 Signed-off-by: Junio C Hamano --- diff --git a/commit.c b/commit.c index a5333c7ac6..e4d1233226 100644 --- a/commit.c +++ b/commit.c @@ -443,7 +443,7 @@ int parse_commit_buffer(struct repository *r, struct commit *item, const void *b item->date = parse_commit_date(bufptr, tail); if (check_graph) - load_commit_graph_info(the_repository, item); + load_commit_graph_info(r, item); return 0; }