diff contrib/builddeb @ 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 c4f0e764b231
children f1c2552c2de7
line wrap: on
line diff