summaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes6
1 files changed, 6 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
index 3c53eb39d..cd4c83ed0 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,2 +1,8 @@
# Use Unix line endings in all text files.
* text=auto eol=lf
+
+# Tell git which symlinks point to files, and which ones point to directories.
+# This is revelevant for Windows only, and requires git >= 2.19.2 to work.
+/* symlink=dir
+/website/* symlink=dir
+/tools/clang symlink=dir