Skip to content

Commit 22ec883

Browse files
authored
Update .gitattributes for new file types
See apache/datasketches-rust#92 (comment). I don't know if it works but it should at least do no harm.
1 parent 75934fa commit 22ec883

1 file changed

Lines changed: 42 additions & 0 deletions

File tree

.gitattributes

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# The default behavior, which overrides 'core.autocrlf', is to use Git's
2+
# built-in heuristics to determine whether a particular file is text or binary.
3+
# Text files are automatically normalized to the user's platforms.
4+
# 15 years ago this was probably OK, but today it is a bad idea.
5+
* text=auto eol=lf
6+
7+
# Explicitly declare text files that should always be LF
8+
.asf.yaml text eol=lf
9+
.gitattributes text eol=lf
10+
.gitignore text eol=lf
11+
git.properties text eol=lf
12+
LICENSE text eol=lf
13+
NOTICE text eol=lf
14+
*.html text eol=lf
15+
*.hpp text eol=lf
16+
*.cpp text eol=lf
17+
*.sk text eol=lf
18+
*.md text eol=lf
19+
*.properties text eol=lf
20+
*.sh text eol=lf
21+
*.xml text eol=lf
22+
*.yml text eol=lf
23+
*.yaml text eol=lf
24+
*.txt text eol=lf
25+
GettysburgAddress.txt text eol=lf
26+
27+
28+
# Declare files that will always have CRLF line endings on checkout.
29+
# Windows batch scripts strictly require CRLF
30+
*.bat text eol=crlf
31+
*.cmd text eol=crlf
32+
33+
# Explicitly denote all files that are truly binary and should not be modified.
34+
*.jpg binary
35+
*.png binary
36+
*.svg binary
37+
38+
# Declare files that should be ignored when creating an archive of the git repository
39+
.asf.yaml export-ignore
40+
.gitattributes export-ignore
41+
.gitignore export-ignore
42+
.github/ export-ignore

0 commit comments

Comments
 (0)