pub fn same_path(a: &Path, b: &Path) -> boolExpand description
Whether two paths name the same place. Never compare worktree paths with
==: git reports its own resolved form, which differs from anything we
build ourselves - /var against /private/var on macOS, forward against
back slashes on Windows - so exact equality quietly reports “different”.