diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..8eab12d --- /dev/null +++ b/.gitattributes @@ -0,0 +1,19 @@ +# Copyright 2023 The Khronos Group Inc. +# Copyright 2023 Valve Corporation +# Copyright 2023 LunarG, Inc. +# +# SPDX-License-Identifier: Apache-2.0 + +# See https://git-scm.com/docs/gitattributes +# See https://help.github.com/articles/dealing-with-line-endings/ + +# Default behavior, if core.autocrlf is unset. +* text=auto + +# Files to be converted to native line endings on checkout. +*.cpp text +*.h text + +# Public header files will always have LF (unix) line endings on checkout. +vk_*.h text eol=lf +vk_*.hpp text eol=lf