1
0
mirror of https://github.com/gitattributes/gitattributes.git synced 2025-01-22 00:08:52 -05:00

Proper sh line endings and added bash support

This commit is contained in:
Richie Bendall 2019-04-21 13:32:14 +12:00
parent bcafb40a85
commit 518592ee3b
No known key found for this signature in database
GPG Key ID: 1C6A99DFA9D306FC
4 changed files with 6 additions and 2 deletions

View File

@ -7,6 +7,7 @@
#
# These files are text and should be normalized (Convert crlf => lf)
*.bal text
*.bash text eol=lf
*.css text diff=css
*.df text
*.htm text diff=html
@ -14,7 +15,7 @@
*.js text
*.json text
*.properties text
*.sh text
*.sh text eol=lf
*.tld text
*.txt text
*.tag text

View File

@ -34,6 +34,7 @@
*.profile text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php
*.script text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
*.sh text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php
*.bash text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php
*.sql text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
*.svg text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
*.theme text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php

View File

@ -6,6 +6,7 @@
# The above will handle all files NOT found below
#
# These files are text and should be normalized (Convert crlf => lf)
*.bash text eol=lf
*.css text diff=css
*.df text
*.htm text diff=html
@ -17,7 +18,7 @@
*.jspf text
*.jspx text
*.properties text
*.sh text
*.sh text eol=lf
*.tld text
*.txt text
*.tag text

View File

@ -16,6 +16,7 @@
* text=auto
# Source code
*.bash text eol=lf
*.bat text eol=crlf
*.coffee text
*.css text