equal
deleted
inserted
replaced
1150 if unknown: |
1150 if unknown: |
1151 # unknown == True means we walked all dirs under the roots |
1151 # unknown == True means we walked all dirs under the roots |
1152 # that wasn't ignored, and everything that matched was stat'ed |
1152 # that wasn't ignored, and everything that matched was stat'ed |
1153 # and is already in results. |
1153 # and is already in results. |
1154 # The rest must thus be ignored or under a symlink. |
1154 # The rest must thus be ignored or under a symlink. |
1155 audit_path = pathutil.pathauditor(self._root) |
1155 audit_path = pathutil.pathauditor(self._root, cached=True) |
1156 |
1156 |
1157 for nf in iter(visit): |
1157 for nf in iter(visit): |
1158 # If a stat for the same file was already added with a |
1158 # If a stat for the same file was already added with a |
1159 # different case, don't add one for this, since that would |
1159 # different case, don't add one for this, since that would |
1160 # make it appear as if the file exists under both names |
1160 # make it appear as if the file exists under both names |