Pamela Dragosh | 91d04c6 | 2017-02-14 19:41:00 -0500 | [diff] [blame] | 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 | *.css text |
| 10 | *.df text |
| 11 | *.htm text |
| 12 | *.html text |
| 13 | *.java text |
| 14 | *.js text |
| 15 | *.json text |
| 16 | *.jsp text |
| 17 | *.jspf text |
| 18 | *.properties text |
| 19 | *.sh text |
| 20 | *.svg text |
| 21 | *.tld text |
| 22 | *.txt text |
| 23 | *.xml text |
| 24 | *.conf text |
| 25 | *.env text |
| 26 | *.cron text |
| 27 | |
| 28 | # These files are binary and should be left untouched |
| 29 | # (binary is a macro for -text -diff) |
| 30 | *.class binary |
| 31 | *.dll binary |
| 32 | *.ear binary |
| 33 | *.gif binary |
| 34 | *.ico binary |
| 35 | *.jar binary |
| 36 | *.jpg binary |
| 37 | *.jpeg binary |
| 38 | *.png binary |
| 39 | *.so binary |
| 40 | *.war binary |