Skip to main content

Module identity

Module identity 

Source
Expand description

Stable change identity across rebase: a change is identified by the hash of its position-independent content — the normalized diff from choir_merge::normalized_diff — so the same logical edit authored against different bases (before and after the train rewrote the tip under it) carries the same identity. The queue uses it to recognize a resubmission of an already-landed change and refuse it instead of re-merging or duplicating it.

Functions§

change_identity
The change’s stable identity: hex digest of its normalized diff.