diff options
author | Derrick Stolee <dstolee@microsoft.com> | 2019-05-09 07:22:31 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-05-13 11:52:19 +0900 |
commit | c7944050af45c7384f97c712cb4d126672c7cfa6 (patch) | |
tree | 55e146b58b56a8c0d0d9a81f9ce58aa4b645f7d9 | |
parent | commit-graph: improve & i18n error messages (diff) | |
download | tgif-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |