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:
parent
bcafb40a85
commit
518592ee3b
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -16,6 +16,7 @@
|
||||
* text=auto
|
||||
|
||||
# Source code
|
||||
*.bash text eol=lf
|
||||
*.bat text eol=crlf
|
||||
*.coffee text
|
||||
*.css text
|
||||
|
Loading…
Reference in New Issue
Block a user