pub fn hooks_marker_defect(text: &str) -> Option<String>Expand description
The one definition of an ill-formed hook file, shared by the splice and every reader that judges one.
The hooks between the markers execute, so ownership must be unambiguous: exactly one begin marker paired with exactly one end marker after it, or none of either. A second begin is a second block pre-commit would still run, and a marker without its pair — or an end before its begin — is a block whose extent nothing can state.