##// END OF EJS Templates
dirstate: use match.prefix() instead of 'not match.anypats()'...
Martin von Zweigbergk -
r25275:d94e403b default
parent child Browse files
Show More
@@ -985,7 +985,7 b' class dirstate(object):'
985 985 # fast path -- filter the other way around, since typically files is
986 986 # much smaller than dmap
987 987 return [f for f in files if f in dmap]
988 if not match.anypats() and all(fn in dmap for fn in files):
988 if match.prefix() and all(fn in dmap for fn in files):
989 989 # fast path -- all the values are known to be files, so just return
990 990 # that
991 991 return list(files)
General Comments 0
You need to be logged in to leave comments. Login now