summaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes23
1 files changed, 23 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..21d0b07
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,23 @@
+# Mark .tmpl files as plain text
+*.tmpl linguist-language=Text
+*.tmpl -linguist-detectable
+*.tmpl linguist-documentation=false
+
+# Mark specific .tmpl files in policy directory
+policy/_policies/*.tmpl linguist-language=Text
+policy/_policies/src/*.tmpl linguist-language=Text
+
+*.rs text eol=lf
+*.toml text eol=lf
+*.md text eol=lf
+*.txt text eol=lf
+*.tmpl text eol=lf
+
+*.png binary
+*.jpg binary
+*.jpeg binary
+*.gif binary
+*.ico binary
+*.pdf binary
+
+Cargo.lock -diff