Skip to content
Snippets Groups Projects
Commit e255a5dc29e6 authored by Matt Mackall's avatar Matt Mackall
Browse files

dirstate: skip optimization on case-folding FS (issue2440)

parent ae163a0a3cd0
No related branches found
No related tags found
No related merge requests found
......@@ -485,11 +485,6 @@
work = []
wadd = work.append
if self._checkcase:
normalize = self._normalize
else:
normalize = lambda x, y: x
exact = skipstep3 = False
if matchfn == match.exact: # match.exact
exact = True
......@@ -497,6 +492,12 @@
elif match.files() and not match.anypats(): # match.match, no patterns
skipstep3 = True
if self._checkcase:
normalize = self._normalize
skipstep3 = False
else:
normalize = lambda x, y: x
files = sorted(match.files())
subrepos.sort()
i, j = 0, 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment