summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Derrick Stolee <dstolee@microsoft.com>2019-05-09 07:22:31 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-05-13 11:52:19 +0900
commitc7944050af45c7384f97c712cb4d126672c7cfa6 (patch)
tree55e146b58b56a8c0d0d9a81f9ce58aa4b645f7d9
parentcommit-graph: improve & i18n error messages (diff)
downloadtgif-c7944050af45c7384f97c712cb4d126672c7cfa6.tar.xz
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>
-rw-r--r--commit.c2
1 files changed, 1 insertions, 1 deletions
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;
}