pub fn path_for_disk_compare(path: &Path) -> PathBufExpand description
Canonicalize a path for on-disk comparison (macOS /private aliasing).
On macOS, /tmp and /private/tmp refer to the same directory; Git stores and
accepts both spellings when matching paths against core.worktree.