unclear docs
- From
- Sergey Lukashev <lukashev.s@ya.ru>
- Date
- Jan 27, 2019, 09:58 UTC
- Message-ID
- <57362151548583138@iva8-37fc2ad204cd.qloud-c.yandex.net>
Hello!
Could somebody please explain what 'core.autocrlf overrides core.eol' means given that we have the following statement in core.eol docs: "Sets the line ending type to use in the working directory for files that have the text property set when core.autocrlf is false".
I would like to know which line endings I'm supposed to get in the working tree if I have core.autocrlf=false and '* text=auto' in .gitattributes on windows. I get CRLFs which is consistent with the last quote but I don't understand what 'core.autocrlf overrides core.eol' means in this case.
Links: https://git-scm.com/docs/git-config#git-config-coreeol https://git-scm.com/docs/gitattributes#_checking_out_and_checking_in