Proper CRLF handling

Add proper CLRF-LF rules to .gitattributes.
Renormalize the bat files to LF in the repo and CRLF on disk.

Remove executable bit of files which shouldn't have it set
This commit is contained in:
Torsten Bögershausen
2021-05-05 08:55:48 +02:00
committed by Michael Davidsaver
parent 71a1ff1292
commit dc03d519fb
6 changed files with 231 additions and 212 deletions

19
.gitattributes vendored
View File

@ -4,3 +4,22 @@
.appveyor/ export-ignore
.appveyor.yml export-ignore
README export-subst
#Which files need CRLF handling
# default to automatic
* text=auto
# batch script parser on windows requires CRLF
*.bat text eol=crlf
# extensions for scripts which may be executable via. "#!..." must have LF
*.pl text eol=lf
*.plt text eol=lf
*.sh text eol=lf
*.cmd text eol=lf
# .cmd in unexpanded templates
*.cmd@* text eol=lf
# executable scripts w/o extensions
modules/ca/src/client/S99caRepeater@ text eol=lf
modules/libcom/src/log/S99logServer@ text eol=lf
startup/EpicsHostArch text eol=lf

0
modules/libcom/src/freeList/freeListLib.c Executable file → Normal file
View File

0
modules/libcom/src/valgrind/valgrind.h Executable file → Normal file
View File

0
modules/libcom/test/Makefile Executable file → Normal file
View File