comparison README @ 32325:763d72925691

match: use match.prefix() in subdirmatcher It seems like the subdirmatcher should be checking if the matcher it's based on is matching prefixes. It was effectively doing that already because "prefix() == not always() and not anypats() and not isexact()", subdirmatcher was checking the first two parts of that condition and I don't think it will ever be given an "exact" matcher with it's directory name (because exact matchers are for matching files, not directories). Still, let's switch to using prefix() for clarity (and because I'm trying to remove code that reaches for matchers internals).
author Martin von Zweigbergk <martinvonz@google.com>
date Wed, 17 May 2017 22:33:15 -0700
parents 4b0fc75f9403
children 76b171209151
comparison
equal deleted inserted replaced
32324:77dac8fd30ee 32325:763d72925691