No, the @jmlane answer is wrong.
Checkin (git add, git commit)
:text
property is Set, Set value to 'auto'
, the conversion happens enen the file has been committed with 'CRLF'text
property is Unset
:nothing happens, enen for Checkout
text
property is Unspecified
, conversion depends on core.autocrlf
autocrlf = input or autocrlf = true
, the conversion only happens when the file in the repository is 'LF', if it has been 'CRLF', nothing will happens.autocrlf = false
, nothing happensCheckout
:text
property is Unset
: nothing happens.text
property is Set, Set value to 'auto
: it depends on core.autocrlf
, core.eol
.
core.eol
text
property is Unspecified
, it depends on core.autocrlf
.
2.1
2.2
text
property is Unspecified
So the Default behavior is text
property is Unspecified
and core.autocrlf = false
:
text
property is set, checkin behavior is depends on itself, not on autocrlf