##// END OF EJS Templates
context: simplify call to icase matcher in 'match()'...
Pierre-Yves David -
r31464:0e7a6279 default
parent child Browse files
Show More
@@ -1525,12 +1525,10 b' class workingctx(committablectx):'
1525
1525
1526 # Only a case insensitive filesystem needs magic to translate user input
1526 # Only a case insensitive filesystem needs magic to translate user input
1527 # to actual case in the filesystem.
1527 # to actual case in the filesystem.
1528 matcherfunc = matchmod.match
1528 if not util.fscasesensitive(r.root):
1529 if not util.fscasesensitive(r.root):
1529 return matchmod.icasefsmatcher(r.root, r.getcwd(), pats,
1530 matcherfunc = matchmod.icasefsmatcher
1530 include, exclude, default, r.auditor,
1531 return matcherfunc(r.root, r.getcwd(), pats,
1531 self, listsubrepos=listsubrepos,
1532 badfn=badfn)
1533 return matchmod.match(r.root, r.getcwd(), pats,
1534 include, exclude, default,
1532 include, exclude, default,
1535 auditor=r.auditor, ctx=self,
1533 auditor=r.auditor, ctx=self,
1536 listsubrepos=listsubrepos, badfn=badfn)
1534 listsubrepos=listsubrepos, badfn=badfn)
General Comments 0
You need to be logged in to leave comments. Login now