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
This commit is contained in:
5
commit.h
5
commit.h
@ -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
|
||||
|
Reference in New Issue
Block a user