Skip to content

Commit f31d149

Browse files
committed
HV-760 Adding .gitattributes to ensure consistent line ending style
1 parent 753a0c7 commit f31d149

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.gitattributes

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Repository specific GIT options
2+
3+
# Set default handling of line terminators for all non explicitly listed file types:
4+
* text=auto
5+
6+
# Force LF as internal repository format for all following files;
7+
# this overrides user settings to enforce the *right format* :
8+
*.java text
9+
*.xml text
10+
*.txt text
11+
*.md text
12+
*.html text
13+
*.properties text
14+
*.rb text
15+
*.pot text
16+
*.po text
17+
*.xsd text
18+
*.header text
19+
*.groovy text
20+
*.css text
21+
22+
# Specify we want Java-friendly readable chunk headers for diff:
23+
24+
*.java diff=java

0 commit comments

Comments
 (0)