Show More
@@ -778,7 +778,7 b' def matchandpats(ctx, pats=(), opts=None' | |||||
778 | pats = [] |
|
778 | pats = [] | |
779 | return m, pats |
|
779 | return m, pats | |
780 |
|
780 | |||
781 |
def match(ctx, pats= |
|
781 | def match(ctx, pats=(), opts={}, globbed=False, default='relpath', badfn=None): | |
782 | '''Return a matcher that will warn about bad matches.''' |
|
782 | '''Return a matcher that will warn about bad matches.''' | |
783 | return matchandpats(ctx, pats, opts, globbed, default, badfn=badfn)[0] |
|
783 | return matchandpats(ctx, pats, opts, globbed, default, badfn=badfn)[0] | |
784 |
|
784 |
General Comments 0
You need to be logged in to leave comments.
Login now