###############################
# Git Line Endings            #
# Set default behaviour to automatically normalize line endings.
* text eol=lf
# Force batch scripts to always use CRLF line endings so that if a repo is accessed
# in Windows via a file share from Linux, the scripts will work.
*.{cmd,[cC][mM][dD]} text eol=crlf
*.{bat,[bB][aA][tT]} text eol=crlf
# Force bash scripts to always use LF line endings so that if a repo is accessed
# in Unix via a file share from Windows, the scripts will work.
*.sh text eol=lf

# Binaries, store as-is

# Images
*.class binary
*.jar binary
*.nar binary
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.webp binary
*.psd binary

# certificates
*.jks binary
*.p12 binary
*.pfx binary
*.pem -text -diff
*.csr -text -diff
*.key -text -diff
*.crt -text -diff

# Fonts
*woff2 -text diff

# Archives

*.7z -text diff
*.br -text diff
*.gz -text diff
*.tar -text diff
*.zip -text diff
*.tgz -text diff
*.tbz2 -text diff

# Win Executable
*.exe binary


# Git Large File System (LFS) #
# Archives
#*.7z filter=lfs diff=lfs merge=lfs -text
#*.br filter=lfs diff=lfs merge=lfs -text
#*.gz filter=lfs diff=lfs merge=lfs -text
#*.tar filter=lfs diff=lfs merge=lfs -text
#*.zip filter=lfs diff=lfs merge=lfs -text
# Documents
#*.pdf filter=lfs diff=lfs merge=lfs -binary
# Images
#*.jpg filter=lfs diff=lfs merge=lfs -binary
#*.jpeg filter=lfs diff=lfs merge=lfs -binary
#*.psd filter=lfs diff=lfs merge=lfs -binary
#*.webp filter=lfs diff=lfs merge=lfs -binary
#*.png filter=lfs diff=lfs merge=lfs -binary
# Fonts
#*.woff2 filter=lfs diff=lfs merge=lfs -text
# Other
#*.exe filter=lfs diff=lfs merge=lfs -text
# Doc images
#docs/_static/img filter=lfs diff=lfs merge=lfs -text
#services/cogstack-cohort/cui_pt2ch.json filter=lfs diff=lfs merge=lfs -text
#services/cogstack-cohort/snomed_terms.json filter=lfs diff=lfs merge=lfs -text
*.zip !text !filter !merge !diff
