1
0
mirror of https://github.com/certbot/certbot.git synced 2026-01-26 07:41:33 +03:00
Files
certbot/.gitattributes
Torsten Bögershausen b7c00a889a .gitattributes: EOL=LF overrides auto
The line
* text=auto eol=lf
in .gitattributes does not work as expected:
setting eol=lf overrides text=auto, and works as
* eol=lf
or
* text eol=lf

This is not what is intended, as binary files like *.gz go through
a CRLF -> LF conversion at commit time.

Use
* crlf=auto
instead (which is even understood by older Git versions, which are still in use)
2016-01-10 18:31:49 +01:00

16 lines
253 B
Plaintext

#Default, normalize CRLF into LF in non-binary files
# Files identified as binary by Git are not changed
* crlf=auto
# special files
*.sh crlf=input
*.py crlf=input
*.bat text eol=crlf
*.der binary
*.gz binary
*.jpeg binary
*.jpg binary
*.png binary