[PATCH 7/8] longest_ancestor_length(): resolve symlinks before comparing paths

2012-09-26 Thread Michael Haggerty
longest_ancestor_length() relies on a textual comparison of directory parts to find the part of path that overlaps with one of the paths in prefix_list. But this doesn't work if any of the prefixes involves a symbolic link, because the directories will look different even though they might logical

Re: [PATCH 7/8] longest_ancestor_length(): resolve symlinks before comparing paths

2012-09-27 Thread Junio C Hamano
Michael Haggerty writes: > longest_ancestor_length() relies on a textual comparison of directory > parts to find the part of path that overlaps with one of the paths in > prefix_list. But this doesn't work if any of the prefixes involves a > symbolic link, because the directories will look diffe

Re: [PATCH 7/8] longest_ancestor_length(): resolve symlinks before comparing paths

2012-09-28 Thread Michael Haggerty
On 09/28/2012 12:51 AM, Junio C Hamano wrote: > Michael Haggerty writes: > >> longest_ancestor_length() relies on a textual comparison of directory >> parts to find the part of path that overlaps with one of the paths in >> prefix_list. But this doesn't work if any of the prefixes involves a >>