gix_commitgraph

Constant GENERATION_NUMBER_MAX

source
pub const GENERATION_NUMBER_MAX: u32 = 0x3fff_ffff;
Expand description

The largest valid generation number.

If a commit’s real generation number is larger than this, the commit graph will cap the value to this number. The largest distinct generation number is GENERATION_NUMBER_MAX - 1.