pub fn is_nothing_to_commit(err: &Error) -> bool
Whether a failed commit/commit_paths reported nothing to commit (a clean tree), as opposed to a real error.
commit
commit_paths