Changeset 4851646c3ef8…
Parent 972f0ec2f662…
by
Changes to one file · Browse files at 4851646c3ef8 Showing diff from parent 972f0ec2f662 Diff from another changeset...
@@ -201,7 +201,7 @@ _(' %s is larger than the specified max diff size') % wfile]
else:
lines = []
- matcher = cmdutil.match(self.repo, [wfile])
+ matcher = cmdutil.matchfiles(self.repo, [wfile])
opts = mdiff.diffopts(git=True, nodates=True)
for s in patch.diff(self.repo, n1, n2, match=matcher, opts=opts):
lines.extend(s.splitlines())
|
Loading...