1
0
mirror of https://github.com/gitattributes/gitattributes.git synced 2025-01-22 00:08:52 -05:00
gitattributes/Java.gitattributes
Alexander Karatarakis 0f6c2ca29c
Merge pull request #89 from Richienb/patch-3
Add CSS diff support
2019-04-17 15:51:28 -07:00

41 lines
1014 B
Plaintext

# Handle line endings automatically for files detected as text
# and leave all files detected as binary untouched.
* text=auto
#
# The above will handle all files NOT found below
#
# These files are text and should be normalized (Convert crlf => lf)
*.css text diff=css
*.df text
*.htm text diff=html
*.html text diff=html
*.java text
*.js text
*.json text
*.jsp text
*.jspf text
*.jspx text
*.properties text
*.sh text
*.tld text
*.txt text
*.tag text
*.tagx text
*.xml text
*.yml text
# These files are binary and should be left untouched
# (binary is a macro for -text -diff)
*.class binary
*.dll binary
*.ear binary
*.gif binary
*.ico binary
*.jar binary diff=java
*.jpg binary
*.jpeg binary
*.png binary
*.so binary
*.war binary