Skip to main content

refuse_trunk_state

Function refuse_trunk_state 

Source
pub fn refuse_trunk_state(state: TrunkState) -> Option<String>
Expand description

Why a diverged trunk cannot be integrated onto.

Only divergence refuses. A trunk behind its remote fast-forwards, and a trunk ahead of it is the ordinary state under local integration: integrations accumulate and the operator pushes when they decide to. A divergence is never merged here, because choosing between the fetch and the push is the operator’s and a merge would put a second parent on a trunk this convention keeps linear.