Debian Codegraph @

.gitattributes

raw
1 # Normalize all text files to LF line endings
2 * text=auto eol=lf
3
4 # Explicitly set Go-related text files to LF
5 *.go text eol=lf
6 *.mod text eol=lf
7 *.sum text eol=lf
8 *.work text eol=lf
9 *.md text eol=lf
10 *.txt text eol=lf
11 *.yaml text eol=lf
12 *.yml text eol=lf
13 *.json text eol=lf
14 *.proto text eol=lf
15
16 # Treat configuration and script files as text with LF
17 *.toml text eol=lf
18 *.ini text eol=lf
19 *.sh text eol=lf
20 Dockerfile text eol=lf
21 *.dockerignore text eol=lf
22 *.gitignore text eol=lf
23 *.gitattributes text eol=lf
24
25 # Treat binary files as binary (no line-ending conversion or diff)
26 *.png binary
27 *.jpg binary
28 *.jpeg binary
29 *.gif binary
30 *.ico binary
31 *.pdf binary
32 *.zip binary
33 *.tar binary
34 *.gz binary
35 *.exe binary
36 *.dll binary
37 *.so binary
38 *.db binary
39 *.sqlite binary
40
41 # Ensure generated Go binaries or test caches are treated as binary
42 *.out binary
43 *.test binary