summaryrefslogtreecommitdiff
path: root/git-commit-script
diff options
context:
space:
mode:
authorKristofer Karlsson <krka@spotify.com>2026-07-09 15:03:00 +0000
committerJunio C Hamano <gitster@pobox.com>2026-07-09 10:29:23 -0700
commit02d62c33be04260445fb201fc65769f421324ed0 (patch)
tree5644d48ba37765747957ccedfbcce1014d7417f8 /git-commit-script
parentf85a7e662054a7b0d9070e432508831afa214b47 (diff)
commit-graph: add trace2 instrumentation for generation DFS
Count the number of steps taken in compute_reachable_generation_numbers() and expose it via trace2 to make it easier to detect performance regressions. Add a failing test for such a regression, introduced in 199d452758 (commit-graph: return the prepared commit graph from `prepare_commit_graph()`, 2025-09-04), where incremental commit-graph writes do not see existing generation numbers from lower graph layers and fall back to walking the full ancestry. Signed-off-by: Kristofer Karlsson <krka@spotify.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-commit-script')
0 files changed, 0 insertions, 0 deletions