From 2e6d10aa1b2dc37732358c7fdd84d8bd28d01535 Mon Sep 17 00:00:00 2001
From: Rob Swindell <rob@synchro.net>
Date: Sun, 20 Nov 2022 15:27:04 -0800
Subject: [PATCH] Add display files (*.ans, *.asc, *.msg) as text with CRLF
 EOLs

Fix issue #457

May as specify that .asc and .msg are text too, though no known reason why
CRLF EOLs may be more desireable.
---
 .gitattributes | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/.gitattributes b/.gitattributes
index d3c138141e..5a62f584af 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -10,7 +10,7 @@
 *.txt  text
 *.TXT  text
 *.json text
-*.bat  text
+*.bat  text eol=crlf
 *.mak  text
 *.mk   text
 makefile text
@@ -18,4 +18,8 @@ Makefile text
 GNUmakefile text
 *.bin  -text
 *.cnf  -text
+*.ans text eol=crlf
+*.ANS text eol=crlf
+*.asc text eol=crlf
+*.msg text eol=crlf
 
-- 
GitLab