Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add '.giattributes' and define diff attribute for Fortran files (#362)
This makes Git aware that files ending in '*.F90' are Fortran source files, and activates the special regexes included in Git [1] so that several commands are more useful since they recognize function, subroutine and module boundaries: - 'git diff' [1], [2] - 'git grep' [3], [4] - 'git log' [5] - 'git blame' [6] [1] https://git-scm.com/docs/gitattributes#_defining_a_custom_hunk_header [2] https://git-scm.com/docs/git-diff#Documentation/git-diff.txt--W [3] https://git-scm.com/docs/git-grep#Documentation/git-grep.txt--p [4] https://git-scm.com/docs/git-grep#Documentation/git-grep.txt--W [5] https://git-scm.com/docs/git-log#Documentation/git-log.txt--Lltstartgtltendgtltfilegt [6] https://git-scm.com/docs/git-blame#Documentation/git-blame.txt--Lltstartgtltendgt
- Loading branch information