Skip to main content

reject_force

Function reject_force 

Source
pub fn reject_force(force: Option<bool>) -> Result<(), GitArgError>
Expand description

ADR-108 hard rule 1: force-push is always denied, unconditionally, at the handler – not left to Gate policy. force: Some(true) (an explicit, loud request) is rejected; absent or Some(false) proceeds normally. There is no argv path anywhere in this module that can add a force flag.