equal
deleted
inserted
replaced
228 return |
228 return |
229 |
229 |
230 fset = set(match.files()) |
230 fset = set(match.files()) |
231 |
231 |
232 # avoid the entire walk if we're only looking for specific files |
232 # avoid the entire walk if we're only looking for specific files |
233 if fset and not match.anypats() and util.all(fn in self for fn in fset): |
233 if not match.anypats() and util.all(fn in self for fn in fset): |
234 for fn in sorted(fset): |
234 for fn in sorted(fset): |
235 yield fn |
235 yield fn |
236 return |
236 return |
237 |
237 |
238 for fn in self: |
238 for fn in self: |