From 00031495655841dc4979e965e291db6a76369604 Mon Sep 17 00:00:00 2001 From: Weicao-CatilGrass <1992414357@qq.com> Date: Mon, 9 Mar 2026 15:02:37 +0800 Subject: Add .gitattributes --- .gitattributes | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .gitattributes 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 -- cgit