pub fn is_nothing_to_commit(error: &Error) -> bool
Whether the error means there is nothing to commit.