git: Add .gitattributes

closes #102
This commit is contained in:
Juan Ramos 2023-09-19 11:20:50 -06:00 committed by Juan Ramos
parent 6774c9b24b
commit 9527ed588f

19
.gitattributes vendored Normal file
View file

@ -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