From adf12780d124d9dcc5a723ef605d0cb5f3b0e8cf Mon Sep 17 00:00:00 2001 From: Norayr Chilingarian Date: Wed, 15 May 2024 00:02:49 +0400 Subject: [PATCH] github linguist git attributes for oberon --- .gitattributes | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..0b277fd --- /dev/null +++ b/.gitattributes @@ -0,0 +1,40 @@ +# Cygwin git and github for windows differ in their eol convention: Github for +# windows uses crlf, but cygwin git uses LF. +# Since we want the same enlistment to work both ways, we need to specify and stick +# with end of line convention for all files. +# Therefore we choose LF for all files except windows command scripts. + +* text=auto + +*.md text eol=lf +*.c text eol=lf +*.h text eol=lf +*.Mod text eol=lf +*.mod text eol=lf +*.Lola text eol=lf +*.lola text eol=lf +*.make text eol=lf +*makefile text eol=lf +*.sh text eol=lf +.git* text eol=lf + +*.cmd text eol=crlf + + +# Symbol files are binaries +*.sym binary + +# Other binaries (these are not normally checked in.) +*.o binary +*.obj binary +*stackdump binary +*exe binary + +# Provide type information to improve block annotation in git diff output. +*.Mod diff=pascal +*.c diff=cpp +*.h diff=cpp + +# Set the language to Oberon +*.Mod linguist-language=Oberon +*.mod linguist-language=Oberon