summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMike Weiblen <[email protected]>2018-07-04 15:23:41 -0600
committerMike Weiblen <[email protected]>2018-09-07 13:45:38 -0600
commitd8daf1785c5d4587f95463c1f2dc43540bc69369 (patch)
treeb5d92f15aed2b850211c23e274a13a6237167be5
parentdb09f95ac00e44149f3894bf82c918e58277cfdb (diff)
downloadVulkan-Headers-d8daf1785c5d4587f95463c1f2dc43540bc69369.tar.gz
Vulkan-Headers-d8daf1785c5d4587f95463c1f2dc43540bc69369.zip
repo: Add .gitattributes file
Every git repo should have a .gitattributes file. Change-Id: I351b5ab5b5d089ffc96b2a211a2e39ddda5cc397
-rw-r--r--.gitattributes16
1 files changed, 16 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..ca85b46
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,16 @@
+# 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
+