[PATCH] match: minor cleanups to patternmatcher and includematcher
Sean Farley
sean at farley.io
Thu Jul 6 14:11:32 EDT 2017
Martin von Zweigbergk via Mercurial-devel <mercurial-devel at mercurial-scm.org> writes:
> # HG changeset patch
> # User Martin von Zweigbergk <martinvonz at google.com>
> # Date 1496987361 25200
> # Thu Jun 08 22:49:21 2017 -0700
> # Node ID 1174e71dbffd4a1b6ce6eaf8d91f2452d4724071
> # Parent 348b491c093401f849ea4c4106b164672efc6bed
> match: minor cleanups to patternmatcher and includematcher
>
> The "patterns"/"include" in "patternspat"/"includepat" is redundant,
> so drop it. Also a "_" prefix since it's "private".
>
> Inline the "pm"/"im" variables.
Looks good, queued!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 800 bytes
Desc: not available
URL: <http://www.mercurial-scm.org/pipermail/mercurial-devel/attachments/20170706/da6e0b4d/attachment.sig>
More information about the Mercurial-devel
mailing list