-
-
Notifications
You must be signed in to change notification settings - Fork 241
Expand file tree
/
Copy path.gitattributes
More file actions
22 lines (20 loc) · 850 Bytes
/
Copy path.gitattributes
File metadata and controls
22 lines (20 loc) · 850 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Normalise every text file to LF, in the index and in the working tree.
# This must stay the first rule: git applies the last matching pattern per
# attribute, so the binary declarations below have to be able to override it.
#
# Without a catch-all, files not matched by an extension rule keep whatever
# line endings the cloning client produces. Git for Windows defaults to
# core.autocrlf=true, so such files land as CRLF, and MSYS2 git (which defaults
# to false) then reports the whole tree as modified -- which made the MinGW CI
# build stamp every binary as "<version>-modified".
* text=auto eol=lf
# Binary files - don't check for whitespace or diff
*.png binary
*.ico binary
*.jpg binary
*.jpeg binary
*.gif binary
*.pdf binary
# Keep packaging sources out of `git archive` tarballs
debian/ export-ignore
headsetcontrol.spec export-ignore