diff --git a/.gitattributes b/.gitattributes index 5c4e63b373..1e84d11815 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,15 +1,8 @@ * text eol=lf *.cmd text eol=crlf -# we do not own any headers checked in, don't touch them -*.h binary -*.hpp binary -# Exception: headers we own -benchmarks/cuda_bindings/benchmarks/cpp/*.hpp -binary text diff -cuda_bindings/cuda/bindings/_bindings/*.h -binary text diff -cuda_bindings/cuda/bindings/_lib/*.h -binary text diff -cuda_core/cuda/core/_cpp/*.h -binary text diff -cuda_core/cuda/core/_cpp/*.hpp -binary text diff +# Keep the vendored DLPack header byte-for-byte, but still show text diffs. +cuda_core/cuda/core/_include/dlpack.h -text !eol diff # git should not convert line endings in PNG files *.png binary *.svg binary