summaryrefslogtreecommitdiffstats
path: root/merge-ort.h
diff options
context:
space:
mode:
authorTaylor Blau <me@ttaylorr.com>2023-03-20 12:26:52 +0100
committerJunio C Hamano <gitster@pobox.com>2023-03-20 20:17:33 +0100
commitc08645b353514fe14dbd62cf52afd49d0e88146b (patch)
tree84a5f63ae98268bb48424f2d2274329a97e34a5f /merge-ort.h
parentcommit-graph: return generation from memory (diff)
downloadgit-c08645b353514fe14dbd62cf52afd49d0e88146b.tar.xz
git-c08645b353514fe14dbd62cf52afd49d0e88146b.zip
commit-graph: introduce `ensure_generations_valid()`
Use the just-introduced compute_reachable_generation_numbers_1() to implement a function which dynamically computes topological levels (or corrected commit dates) for out-of-graph commits. This will be useful for the ahead-behind algorithm we are about to introduce, which needs accurate topological levels on _all_ commits reachable from the tips in order to avoid over-counting. Co-authored-by: Derrick Stolee <derrickstolee@github.com> Signed-off-by: Taylor Blau <me@ttaylorr.com> Signed-off-by: Derrick Stolee <derrickstolee@github.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'merge-ort.h')
0 files changed, 0 insertions, 0 deletions