• Brandon Casey's avatar
    userdiff.c: add builtin fortran regex patterns · 909a5494
    Brandon Casey authored
    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: default avatarBrandon Casey <[email protected]>
    Signed-off-by: default avatarJunio C Hamano <[email protected]>
    909a5494
gitattributes.txt 28.5 KB