aboutsummaryrefslogtreecommitdiff
path: root/tools/Vulkan-Tools/.gitattributes
diff options
context:
space:
mode:
Diffstat (limited to 'tools/Vulkan-Tools/.gitattributes')
-rw-r--r--tools/Vulkan-Tools/.gitattributes20
1 files changed, 20 insertions, 0 deletions
diff --git a/tools/Vulkan-Tools/.gitattributes b/tools/Vulkan-Tools/.gitattributes
new file mode 100644
index 00000000..1687690d
--- /dev/null
+++ b/tools/Vulkan-Tools/.gitattributes
@@ -0,0 +1,20 @@
+# 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
+
+# Text files to always have CRLF (dos) line endings on checkout.
+*.bat text eol=crlf
+
+# Text files to always have LF (unix) line endings on checkout.
+*.sh text eol=lf
+
+# Generated source files will always have LF (unix) line endings on checkout.
+icd/generated/*.cpp text eol=lf
+icd/generated/*.h text eol=lf
+vulkaninfo/generated/*.hpp text eol=lf