<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/t/t4018/fortran-external-function, branch main</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=main</id>
<link rel='self' href='https://git.shady.money/git/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2020-08-13T18:21:17Z</updated>
<entry>
<title>userdiff: add tests for Fortran xfuncname regex</title>
<updated>2020-08-13T18:21:17Z</updated>
<author>
<name>Philippe Blain</name>
<email>levraiphilippeblain@gmail.com</email>
</author>
<published>2020-08-12T22:30:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b79e6925f0ff8ae0afa6554224a5a2e1c41a4605'/>
<id>urn:sha1:b79e6925f0ff8ae0afa6554224a5a2e1c41a4605</id>
<content type='text'>
The Fortran userdiff patterns, introduced in 909a5494f8 (userdiff.c: add
builtin fortran regex patterns, 2010-09-10), predate the test
infrastructure for xfuncname patterns, introduced in bfa7d01413 (t4018:
an infrastructure to test hunk headers, 2014-03-21).

Add tests for the Fortran xfuncname patterns. The test
't/t4018/fortran-comment-keyword' documents a shortcoming of the regex
that is fixed in a subsequent commit.

While at it, add descriptive comments for the different parts of the
regex.

Signed-off-by: Philippe Blain &lt;levraiphilippeblain@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
