diff options
author | Junio C Hamano <gitster@pobox.com> | 2021-02-17 17:21:40 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-02-17 17:21:40 -0800 |
commit | 5bd0b21bf78fa365bc5189452e3cbbbec7330002 (patch) | |
tree | 626fae7b2e20027a5d7bb8b4bbbe34fc630a5a13 /commit.h | |
parent | 8b4701ae4fa8e68362509013ceb496333b7ca0df (diff) | |
parent | bc50d6c91f4002b4197a9f5ea5dfdc3c9f105a1c (diff) | |
download | git-5bd0b21bf78fa365bc5189452e3cbbbec7330002.tar.gz |
Merge branch 'ds/commit-graph-genno-fix'
Fix incremental update of commit-graph file around corrected commit
date data.
* ds/commit-graph-genno-fix:
commit-graph: prepare commit graph
commit-graph: be extra careful about mixed generations
commit-graph: compute generations separately
commit-graph: validate layers for generation data
commit-graph: always parse before commit_graph_data_at()
commit-graph: use repo_parse_commit
Diffstat (limited to 'commit.h')
-rw-r--r-- | commit.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -89,9 +89,10 @@ static inline int repo_parse_commit(struct repository *r, struct commit *item) return repo_parse_commit_gently(r, item, 0); } -static inline int parse_commit_no_graph(struct commit *commit) +static inline int repo_parse_commit_no_graph(struct repository *r, + struct commit *commit) { - return repo_parse_commit_internal(the_repository, commit, 0, 0); + return repo_parse_commit_internal(r, commit, 0, 0); } #ifndef NO_THE_REPOSITORY_COMPATIBILITY_MACROS |