mirror of
https://gitea.blesmrt.net/mikaela/gist.git
synced 2024-11-25 12:49:23 +01:00
.gitattributes: opt-out of linguist
I imagine lfs being -text means it will not get detected even if I don't specify otherwise
This commit is contained in:
parent
14dc11508d
commit
358838f13d
10
.gitattributes
vendored
10
.gitattributes
vendored
@ -1,16 +1,16 @@
|
|||||||
# Normalize line endings for text files
|
# Normalize line endings for text files
|
||||||
# https://www.git-scm.com/docs/gitattributes#_end_of_line_conversion
|
# https://www.git-scm.com/docs/gitattributes#_end_of_line_conversion
|
||||||
* text=auto
|
* text=auto -linguist-detectable
|
||||||
|
|
||||||
# Unlikely to be ran under Windows, Linux line endings
|
# Unlikely to be ran under Windows, Linux line endings
|
||||||
*.bash text eol=lf
|
*.bash text eol=lf -linguist-detectable
|
||||||
|
|
||||||
# While this repository doesn't currently have anything for Windows, I may
|
# While this repository doesn't currently have anything for Windows, I may
|
||||||
# use this for reference
|
# use this for reference
|
||||||
# https://rehansaeed.com/gitattributes-best-practices/#line-endings
|
# https://rehansaeed.com/gitattributes-best-practices/#line-endings
|
||||||
*.{reg,[rR][eE][gG]} text eol=crlf
|
*.{reg,[rR][eE][gG]} text eol=crlf -linguist-detectable
|
||||||
*.{bat,[bB][aA][tT]} text eol=crlf
|
*.{bat,[bB][aA][tT]} text eol=crlf -linguist-detectable
|
||||||
*.{ahk,[aA][hH][kK]} text eol=crlf
|
*.{ahk,[aA][hH][kK]} text eol=crlf -linguist-detectable
|
||||||
|
|
||||||
# LFS with(/out) locking https://github.com/git-lfs/git-lfs/wiki/File-Locking
|
# LFS with(/out) locking https://github.com/git-lfs/git-lfs/wiki/File-Locking
|
||||||
*.png filter=lfs diff=lfs merge=lfs -text lockable
|
*.png filter=lfs diff=lfs merge=lfs -text lockable
|
||||||
|
Loading…
Reference in New Issue
Block a user