File: .gitattributes

package info (click to toggle)
libnbd 1.22.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,636 kB
  • sloc: ansic: 53,855; ml: 12,311; sh: 8,499; python: 4,595; makefile: 2,902; perl: 165; cpp: 24
file content (16 lines) | stat: -rw-r--r-- 525 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Use various builtin diff parsers
*.py diff=python
*.c diff=cpp
*.h diff=cpp
*.go diff=golang
*.md diff=markdown

# Use the following one-time config to get nicer diffs of various files:
#    git config diff.ml.xfuncname '^(type|and|val|let) .*='
#    git config diff.ml-api.xfuncname '^(let .*=|  "[^"]*", \{$)'
#    git config diff.mli.xfuncname '^(type|and|val|module) '
#    git config diff.states.xfuncname '^([a-zA-Z_].*| [A-Z._0-9]*:$)'
*.ml diff=ml
*.mli diff=mli
API.ml diff=ml-api
generator/states-*.c diff=states