Line endings and appIcon.icns

3 views
Skip to first unread message

Waldek Hebisch

unread,
Jul 1, 2022, 8:02:01 AM7/1/22
to fricas...@googlegroups.com
I have several times got message:

warning: CRLF will be replaced by LF in contrib/macos/appIcon.icns

AFAICS appIcon.icns is binary file, so should be an exception to
line ending rules.

--
Waldek Hebisch

Qian Yun

unread,
Jul 1, 2022, 8:06:55 AM7/1/22
to fricas...@googlegroups.com
Never met this problem.

What's your git version?

Maybe this can help, you can test locally:

==== put this in .gitattributes
contrib/macos/appIcon.icns -text
====

- Qian

Waldek Hebisch

unread,
Jul 1, 2022, 8:50:49 AM7/1/22
to fricas...@googlegroups.com
On Fri, Jul 01, 2022 at 08:06:44PM +0800, Qian Yun wrote:
> Never met this problem.
>
> What's your git version?
>
> Maybe this can help, you can test locally:
>
> ==== put this in .gitattributes
> contrib/macos/appIcon.icns -text
> ====

Yes, seem to help. BTW, I get this for example when
I do:

copy repository to different place (via 'cp -r')
pull something from remote repository
do 'git diff'

> >warning: CRLF will be replaced by LF in contrib/macos/appIcon.icns

--
Waldek Hebisch
Reply all
Reply to author
Forward
0 new messages