fn collect_rename_changes( root: &Path, respect_gitignore: bool, paths: &[PathBuf], ) -> Vec<FileIndexChange>