pub fn ensure_changed_root_is_trackable(root: &Path) -> Result<()>
Rejects changed-file mode when the analyzed root itself is excluded by Git.