From d27fb86fdd13095b91cf8c48b89e2bd21741a9e8 Mon Sep 17 00:00:00 2001 From: David Sancho Moreno Date: Tue, 26 Nov 2024 15:23:34 +0100 Subject: [PATCH] Treat cram tests as text --- .gitattributes | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitattributes b/.gitattributes index ede09762b..b18fe5973 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,7 +1,13 @@ -# Tell github that .re and .rei files are Reason +# .re and .rei files are Reason *.re linguist-language=Reason *.rei linguist-language=Reason +# mli/mly files are OCaml +*.ml* text eol=lf linguist-language=OCaml + +# Ignore cram test files +*.t text eol=lf -linguist-detectable + # Declare shell files to have LF endings on checkout # On Windows, the default git setting for `core.autocrlf` # means that when checking out code, LF endings get converted