Home | History | Annotate | Download | only in catch2
      1 # This sets the default behaviour, overriding core.autocrlf
      2 * text=auto
      3 
      4 # All source files should have unix line-endings in the repository,
      5 # but convert to native line-endings on checkout
      6 *.cpp text
      7 *.h text
      8 *.hpp text
      9 
     10 # Windows specific files should retain windows line-endings
     11 *.sln text eol=crlf
     12 
     13 # Keep executable scripts with LFs so they can be run after being
     14 # checked out on Windows
     15 *.py text eol=lf
     16 
     17 
     18 # Keep the single include header with LFs to make sure it is uploaded,
     19 # hashed etc with LF
     20 single_include/**/*.hpp eol=lf
     21 # Also keep the LICENCE file with LFs for the same reason
     22 LICENCE.txt eol=lf
     23