##// END OF EJS Templates
dirstate: skip optimization on case-folding FS (issue2440)
Matt Mackall -
r12907:e255a5dc stable
parent child Browse files
Show More
@@ -485,11 +485,6 class dirstate(object):
485 485 work = []
486 486 wadd = work.append
487 487
488 if self._checkcase:
489 normalize = self._normalize
490 else:
491 normalize = lambda x, y: x
492
493 488 exact = skipstep3 = False
494 489 if matchfn == match.exact: # match.exact
495 490 exact = True
@@ -497,6 +492,12 class dirstate(object):
497 492 elif match.files() and not match.anypats(): # match.match, no patterns
498 493 skipstep3 = True
499 494
495 if self._checkcase:
496 normalize = self._normalize
497 skipstep3 = False
498 else:
499 normalize = lambda x, y: x
500
500 501 files = sorted(match.files())
501 502 subrepos.sort()
502 503 i, j = 0, 0
General Comments 0
You need to be logged in to leave comments. Login now