# Based on .gitattributes template from https://help.github.com/articles/dealing-with-line-endings # 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. *.c text *.cc text *.cpp text *.h text *.hlsl text *.htm text *.md text *.xml text *.txt text # Declare files that will always have CRLF line endings on checkout. *.sln text eol=crlf *.csproj text eol=crlf *.vcxproj text eol=crlf *.shfbproj text eol=crlf *.resx text eol=crlf *.aml text eol=crlf *.cs text eol=crlf diff=csharp # Denote all files that are truly binary and should not be modified. *.png binary *.jpg binary *.bmp binary *.ico binary *.exe binary *.dll binary *.lib binary *.pdb binary *.rtf binary *.snk binary *.rc binary # Specific files that should be left alone renderdoccmd/resource.h binary renderdoc/data/resource.h binary