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

Merge branch 'master' into patch-7

This commit is contained in:
Richie Bendall 2019-04-18 11:29:25 +12:00 committed by GitHub
commit 3cd794f26c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 35 additions and 11 deletions

6
Ada.gitattributes Normal file
View File

@ -0,0 +1,6 @@
# Handle line endings automatically for files detected as text
# and leave all files detected as binary untouched.
* text=auto
# Ada files
*.ada text diff=ada

View File

@ -7,7 +7,7 @@
# #
# These files are text and should be normalized (Convert crlf => lf) # These files are text and should be normalized (Convert crlf => lf)
*.bal text *.bal text
*.css text *.css text diff=css
*.df text *.df text
*.htm text diff=html *.htm text diff=html
*.html text diff=html *.html text diff=html

View File

@ -9,6 +9,7 @@
# #
# Documents # Documents
*.bibtex text diff=bibtex
*.doc diff=astextplain *.doc diff=astextplain
*.DOC diff=astextplain *.DOC diff=astextplain
*.docx diff=astextplain *.docx diff=astextplain
@ -20,7 +21,7 @@
*.rtf diff=astextplain *.rtf diff=astextplain
*.RTF diff=astextplain *.RTF diff=astextplain
*.md text *.md text
*.tex text *.tex text diff=tex
*.adoc text *.adoc text
*.textile text *.textile text
*.mustache text *.mustache text

View File

@ -19,7 +19,7 @@
# Auto-detect text files, ensure they use LF. # Auto-detect text files, ensure they use LF.
* text=auto eol=lf * text=auto eol=lf
*.css text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 *.css text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=css
*.engine text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php *.engine text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php
*.html text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=html *.html text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=html
*.inc text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php *.inc text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php

9
Fortran.gitattributes Normal file
View File

@ -0,0 +1,9 @@
# Handle line endings automatically for files detected as text
# and leave all files detected as binary untouched.
* text=auto
# Fortran files
*.f text diff=fortran
*.f90 text diff=fortran
*.f95 text diff=fortran
*.f03 text diff=fortran

8
Fountain.gitattributes Normal file
View File

@ -0,0 +1,8 @@
# Handle line endings automatically for files detected as text
# and leave all files detected as binary untouched.
* text=auto
# Fountain files
*.fountain text diff=fountain
*.pdf binary
*.fdx text

View File

@ -2,4 +2,4 @@
# line endings. Windows users contributing to Go will need to use a # line endings. Windows users contributing to Go will need to use a
# modern version of git and editors capable of LF line endings. # modern version of git and editors capable of LF line endings.
*.go -text *.go -text diff=golang

View File

@ -6,7 +6,7 @@
# The above will handle all files NOT found below # The above will handle all files NOT found below
# #
# These files are text and should be normalized (Convert crlf => lf) # These files are text and should be normalized (Convert crlf => lf)
*.css text *.css text diff=css
*.df text *.df text
*.htm text diff=html *.htm text diff=html
*.html text diff=html *.html text diff=html
@ -32,7 +32,7 @@
*.ear binary *.ear binary
*.gif binary *.gif binary
*.ico binary *.ico binary
*.jar binary *.jar binary diff=java
*.jpg binary *.jpg binary
*.jpeg binary *.jpeg binary
*.png binary *.png binary

View File

@ -7,4 +7,4 @@
# Luadoc output # Luadoc output
# ============= # =============
*.html text diff=html *.html text diff=html
*.css text *.css text diff=css

View File

@ -4,8 +4,8 @@
# Source files # Source files
# ============ # ============
*.m text *.m text diff=matlab
*.mu text *.mu text diff=matlab
# Caution: *.m also matches Mathematica packages. # Caution: *.m also matches Mathematica packages.

View File

@ -7,5 +7,5 @@
*.obj -text *.obj -text
*.dbi -text *.dbi -text
*.sec -text *.sec -text
*.css -text *.css -text diff=css
*.js eol=lf *.js eol=lf