Skip to content
This repository was archived by the owner on Jan 11, 2021. It is now read-only.

Commit 733f5a2

Browse files
committed
eclipse#111 Added git config to trasform line endings
This is to have deterministic line endings, regardless of committer's operating system. Copied from the microprofile-samples project. Signed-off-by:Ondrej Mihalyi <[email protected]>
1 parent d49951a commit 733f5a2

File tree

1 file changed

+69
-0
lines changed

1 file changed

+69
-0
lines changed

.gitattributes

+69
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
# Handle line endings automatically for files detected as text
2+
# and leave all files detected as binary untouched.
3+
* text=auto
4+
5+
#
6+
# The above will handle all files NOT found below
7+
#
8+
# These files are text and should be normalized (Convert crlf => lf)
9+
*.adoc text
10+
*.conf text
11+
*.config text
12+
*.css text
13+
*.df text
14+
*.extension text
15+
*.groovy text
16+
*.htm text
17+
*.html text
18+
*.java text
19+
*.js text
20+
*.json text
21+
*.jsp text
22+
*.jspf text
23+
*.md text
24+
*.properties text
25+
*.sbt text
26+
*.scala text
27+
*.sh text
28+
*.sql text
29+
*.svg text
30+
*.template text
31+
*.tld text
32+
*.txt text
33+
*.vm text
34+
*.wadl text
35+
*.wsdl text
36+
*.xhtml text
37+
*.xml text
38+
*.xsd text
39+
*.yml text
40+
41+
cipher text
42+
jaas text
43+
LICENSE text
44+
NOTICE text
45+
46+
# These files are binary and should be left untouched
47+
# (binary is a macro for -text -diff)
48+
*.class binary
49+
*.dll binary
50+
*.ear binary
51+
*.gif binary
52+
*.ico binary
53+
*.jar binary
54+
*.jpg binary
55+
*.jpeg binary
56+
*.png binary
57+
*.ser binary
58+
*.so binary
59+
*.war binary
60+
*.zip binary
61+
*.exe binary
62+
*.gz binary
63+
64+
#Windows
65+
*.bat text eol=crlf
66+
*.cmd text eol=crlf
67+
68+
#Unix/Linux
69+
*.sh text eol=lf

0 commit comments

Comments
 (0)