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)