# Set default behaviour, in case users don't have core.autocrlf set.
* text=auto

# Explicitly declare text files we want to always be normalized and converted 
# to native line endings on checkout.
*.cpp text
*.cxx text
*.c++ text
*.c text
*.h text

# Declare files that will always have CRLF line endings on checkout.
*.sln text eol=crlf
*.vcproj text eol=crlf
*.vsprops text eol=crlf
build/vc9/* eol=crlf

# Denote all files that are truly binary and should not be modified.
*.png binary
*.jpg binary
*.ktx binary

# Force line endings for unix shell scripts and other specific files
tests/toktx-tests eol=lf
expandkw eol=lf

# Keyword expansion
TODO filter=kwexpander
build/vc9/README[[:space:]]FIRST.txt filter=kwexpander
include/ktx.h filter=kwexpander ident
GNUmakefile ident
include/ktx.h filter=kwexpander ident
lib/*.[ch] ident
lib/*.cxx ident
tests/loadtests/common/at.[ch] ident
tests/loadtests/common/egltowgl.c ident
tests/loadtests/gles1/*.c ident
tests/loadtests/shader-based/*.c ident
tools/toktx/*.cpp ident
tools/toktx/*.h ident
tools/toktx/toktx.cpp filter=kwexpander ident
