mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 15:27:13 +03:00
39c27d779f
In two very similar segments of code, an existing matcher is modified by changing its _files attribute through a map and a filter operation. Neither operation can cause an empty list to become non-empty, so a matcher that always matches can not stop always matching. Drop the setting of the attribute, so we don't unnecessarily prevent the fast paths to be taken where these matchers end up being used. |
||
---|---|---|
.. | ||
__init__.py | ||
basestore.py | ||
CONTRIBUTORS | ||
lfcommands.py | ||
lfutil.py | ||
localstore.py | ||
overrides.py | ||
proto.py | ||
remotestore.py | ||
reposetup.py | ||
uisetup.py | ||
wirestore.py |