pub fn is_clean<G: WorkingCopy>(git: &G) -> Result<bool, EngineError>Expand description
Whether a worktree snapshot would differ from HEAD at all.
The question a reviewer surface actually has: βis offering to include uncommitted work going to change anything?β Answered with two cheap plumbing calls rather than by building the snapshot and comparing trees β the snapshot re-hashes every tracked file, which is precisely the work a clean answer lets the caller skip.