From 9527ed588f1a536a7fc0bc8e96f9ffffde6333b2 Mon Sep 17 00:00:00 2001 From: Juan Ramos Date: Tue, 19 Sep 2023 11:20:50 -0600 Subject: [PATCH] git: Add .gitattributes closes #102 --- .gitattributes | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .gitattributes 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