2023-05-19 19:35:05 +02:00
|
|
|
# See https://www.git-scm.com/docs/gitattributes#_effects for more information
|
2023-02-21 14:35:31 +01:00
|
|
|
* text=auto eol=lf linguist-detectable
|
2023-02-21 14:34:29 +01:00
|
|
|
|
2023-10-15 13:44:41 +02:00
|
|
|
# Hunk headers for diff shipped with git
|
|
|
|
# https://www.git-scm.com/docs/gitattributes#_defining_a_custom_hunk_header
|
|
|
|
*.{sh,bash,zsh} text diff=bash eol=lf
|
|
|
|
*.bibtex text diff=bibtex eol=lf
|
|
|
|
*.cpp text diff=cpp eol=lf
|
|
|
|
*.css text diff=css eol=lf
|
|
|
|
*.go text diff=golang eol=lf
|
|
|
|
*.html text diff=html eol=lf
|
|
|
|
*.java text diff=java eol=lf
|
|
|
|
*.{md,markdown} text diff=markdown eol=lf
|
|
|
|
*.pl text diff=perl eol=lf
|
|
|
|
*.php text diff=php eol=lf
|
|
|
|
*.py text diff=python eol=lf
|
|
|
|
*.rb text diff=ruby eol=lf
|
|
|
|
*.tex text diff=tex eol=lf
|
|
|
|
|
2023-02-21 14:34:29 +01:00
|
|
|
# These files are scary, let's not touch them
|
2023-10-15 13:36:08 +02:00
|
|
|
# Lockable is provided by git-lfs
|
2023-02-21 14:34:29 +01:00
|
|
|
LICENSE text lockable
|
|
|
|
CITATION.cff text lockable
|
|
|
|
|
2023-02-12 09:30:18 +01:00
|
|
|
# Windows files even in checkout
|
|
|
|
# Ref: https://rehansaeed.com/gitattributes-best-practices/#line-endings
|
2023-02-21 14:35:31 +01:00
|
|
|
*.{reg,[rR][eE][gG]} text eol=crlf
|
|
|
|
*.{bat,[bB][aA][tT]} text eol=crlf
|
|
|
|
*.{ahk,[aA][hH][kK]} text eol=crlf
|