RE: Re: Re: Detecting
From: Gavin Lambert <colnet_at_mirality.co.nz>
Date: Wed, 11 Mar 2015 16:36:54 -0700 (PDT)
On 12/03/2015 10:29, Timur Khanipov wrote:
Which is correct behaviour. Because CRLF line endings will be converted to LF endings on commit, and then reconverted back to CRLF on checkout-on-Windows. This is a file content modification.
Technically I suppose it should *also* show Modified for files with LF endings on Windows, because if you commit those they will actually convert to CRLF endings.
eol-style is a weird property, since it alters file content as well. So changing this property is rarely a pure property change only.
>> I think if a line ending actually in use does not match the line ending SVN
That is completely the opposite of what that means. If you want SVN to not care about line endings, then omit the property. If you set the property then you are explicitly telling SVN to care about line endings and change them in the specified ways when files are committed and checked out.
I have a policy to never set that property, because I'd much prefer to preserve file content completely unaltered rather than have surprise EOL changes. All of my editors can cope with non-native EOL styles anyway.
------------------------------------------------------
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
|
This is an archived mail posted to the TortoiseSVN Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.