path: root/t/
diff options
authorBrandon Casey <>2010-09-10 16:18:14 (GMT)
committerJunio C Hamano <>2010-09-10 16:38:29 (GMT)
commit909a5494f869371565ed9326e984adeabf42611d (patch)
treeb5ac8af083e68f63af77130aabf68ff0f747b48c /t/
parentbff42061214e17f342efc909c73f29bf66df51e9 (diff)
userdiff.c: add builtin fortran regex patterns
This adds fortran xfuncname and wordRegex patterns to the list of builtin patterns. The intention is for the patterns to be appropriate for all versions of fortran including 77, 90, 95. The patterns can be enabled by adding the diff=fortran attribute to the .gitattributes file for the desired file glob. This also adds a new macro named IPATTERN which is just like the PATTERNS macro except it sets the REG_ICASE flag so that case will be ignored. The test code in t4018 and the docs were updated as appropriate. Signed-off-by: Brandon Casey <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to 't/')
1 files changed, 1 insertions, 1 deletions
diff --git a/t/ b/t/
index 620cd02..9a57898 100755
--- a/t/
+++ b/t/
@@ -32,7 +32,7 @@ EOF
sed 's/beer\\/beer,\\/' < >
-builtin_patterns="bibtex cpp csharp html java objc pascal php python ruby tex"
+builtin_patterns="bibtex cpp csharp fortran html java objc pascal php python ruby tex"
for p in $builtin_patterns
test_expect_success "builtin $p pattern compiles" '