forked from apache/netbeans
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Explicitly forces some file types to be text and always using Unix-style line endings.
- Loading branch information
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# | ||
# Defines Git attributes per file path / file pattern | ||
# | ||
|
||
|
||
|
||
# Define some file types explicitly as being text. | ||
# This makes sure that we can never inadvertently get | ||
# a file of this type into the repo with a line ending | ||
# other than the Unix-style line ending. | ||
# This will also override the user's own global git settings | ||
# for these file types. | ||
|
||
*.css text eol=lf | ||
*.dtd text eol=lf | ||
*.htm text eol=lf | ||
*.html text eol=lf | ||
*.java text eol=lf | ||
*.js text eol=lf | ||
*.md text eol=lf | ||
*.properties text eol=lf | ||
*.scss text eol=lf | ||
*.svg text eol=lf | ||
*.txt text eol=lf | ||
*.xml text eol=lf | ||
*.xsd test eol=lf | ||
|
||
.gitattributes text eol=lf | ||
.gitignore text eol=lf | ||
.travis.yml text eol=lf | ||
|