pub fn evaluate_commit_gate(
change_set: &ChangeSet,
intent: &CommitIntent,
) -> Result<CommitGate, ChangeError>Expand description
Evaluates commit selection semantics without mutating Git state.
ยงErrors
Returns ChangeError::InvalidPathspec when a pathspec could be interpreted as an option,
revision expression, pathspec magic, glob, absolute path, or control-bearing input.