]> git.ipfire.org Git - thirdparty/git.git/commit
userdiff: remove empty subexpression from elixir regex
authorEd Maste <emaste@FreeBSD.org>
Fri, 13 Dec 2019 17:55:35 +0000 (17:55 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 13 Dec 2019 20:20:48 +0000 (12:20 -0800)
commitd1b1384d6163efb85c3a93ee535cd795d92fec21
treecd7eb65ccb482da95381b87dc456e16cec265546
parenta807200f67588f6e30a7b6ac4a3ad97ad176ccc7
userdiff: remove empty subexpression from elixir regex

The regex failed to compile on FreeBSD.

Also add /* -- */ mark to separate the two regex entries given to
the PATTERNS() macro, to make it consistent with patterns for other
content types.

Signed-off-by: Ed Maste <emaste@FreeBSD.org>
Reviewed-by: Jeff King <peff@peff.net>
Helped-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
userdiff.c