Show More
@@ -62,7 +62,10 b' class match(object):' | |||||
62 | pats = _normalize(exclude, 'glob', root, cwd, auditor) |
|
62 | pats = _normalize(exclude, 'glob', root, cwd, auditor) | |
63 | self.excludepat, em = _buildmatch(ctx, pats, '(?:/|$)') |
|
63 | self.excludepat, em = _buildmatch(ctx, pats, '(?:/|$)') | |
64 | if exact: |
|
64 | if exact: | |
|
65 | if isinstance(patterns, list): | |||
65 | self._files = patterns |
|
66 | self._files = patterns | |
|
67 | else: | |||
|
68 | self._files = list(patterns) | |||
66 | pm = self.exact |
|
69 | pm = self.exact | |
67 | elif patterns: |
|
70 | elif patterns: | |
68 | pats = _normalize(patterns, default, root, cwd, auditor) |
|
71 | pats = _normalize(patterns, default, root, cwd, auditor) |
General Comments 0
You need to be logged in to leave comments.
Login now