equal
deleted
inserted
replaced
605 patmatch = matchfn(pats, '$') or always |
605 patmatch = matchfn(pats, '$') or always |
606 incmatch = always |
606 incmatch = always |
607 if inc: |
607 if inc: |
608 dummy, inckinds, dummy = normalizepats(inc, 'glob') |
608 dummy, inckinds, dummy = normalizepats(inc, 'glob') |
609 incmatch = matchfn(inckinds, '(?:/|$)') |
609 incmatch = matchfn(inckinds, '(?:/|$)') |
610 excmatch = lambda fn: False |
610 excmatch = never |
611 if exc: |
611 if exc: |
612 dummy, exckinds, dummy = normalizepats(exc, 'glob') |
612 dummy, exckinds, dummy = normalizepats(exc, 'glob') |
613 excmatch = matchfn(exckinds, '(?:/|$)') |
613 excmatch = matchfn(exckinds, '(?:/|$)') |
614 |
614 |
615 if not names and inc and not exc: |
615 if not names and inc and not exc: |