Re: [PATCH] Respect crlf attribute even if core.autocrlf has not been set

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Re: [PATCH] Respect crlf attribute even if core.autocrlf has not been set

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:45:00

Johannes Schindelin [off-list ref] writes:
On Wed, 23 Jul 2008, Junio C Hamano wrote:
...
quoted
If you are on a sane system, you do not even want to pay the price of 
conversion.  Only people on systems with CRLF line endings should pay 
the price (because your aim is to convert on such systems).  Are we 
throwing that out of the window when the project decides to use 
gitattributes?
Well, if you do not want that, why do you set crlf in the gitattributes to 
begin with?
It is not _me_ but the project upstream that needs to interact also with
Windows people who manages gitattributes.  And me personally knows my
editors are not helpful to add CR at the end of lines, so I do not need
the conversion.

That was the situation I had in mind.

Re: [PATCH] Respect crlf attribute even if core.autocrlf has not been set

From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:45:00

Hi,

On Wed, 23 Jul 2008, Junio C Hamano wrote:
Johannes Schindelin [off-list ref] writes:
quoted
On Wed, 23 Jul 2008, Junio C Hamano wrote:
...
quoted
If you are on a sane system, you do not even want to pay the price of 
conversion.  Only people on systems with CRLF line endings should pay 
the price (because your aim is to convert on such systems).  Are we 
throwing that out of the window when the project decides to use 
gitattributes?
Well, if you do not want that, why do you set crlf in the 
gitattributes to begin with?
It is not _me_ but the project upstream that needs to interact also with 
Windows people who manages gitattributes.  And me personally knows my 
editors are not helpful to add CR at the end of lines, so I do not need 
the conversion.
I know you do.  And I know those users don't.  They do not even know that 
they should set autocrlf = input in their cygwin Git.

Or at least, now they do.  After a few hundred commits that have been 
published _after_ their broken checkins.

Sigh,
Dscho
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help