Skip to main content

Module commit_graph_write

Module commit_graph_write 

Source
Expand description

Serialize Git commit-graph v1 files with GDA2 + optional Bloom chunks (commit-graph.c compatible).

Structs§

BloomWriteStats
Counters emitted as GIT_TRACE2_EVENT for Bloom generation (commit-graph.c).
CommitGraphCommitInfo
Per-commit data needed to write CDAT / Bloom.

Functions§

build_commit_graph_bytes
Build raw commit-graph bytes (without touching the filesystem).
collect_reachable_commit_oids
Collect reachable commit OIDs from ref tips (same strategy as existing grit commit-graph).
load_commit_graph_commit_info
Load commit metadata from the ODB for graph writing.