Re: [PATCH] Respect crlf attribute even if core.autocrlf has not been set
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jul 23, 2008, 20:07 UTC
- Message-ID
- <alpine.DEB.1.00.0807232105470.8986@racer>
- In-Reply-To
- <7vhcagcsmj.fsf@gitster.siamese.dyndns.org>
Hi,
On Wed, 23 Jul 2008, Junio C Hamano wrote:
Show 17 quoted lines
> Johannes Schindelin <Johannes.Schindelin@gmx.de> writes: > > > On Wed, 23 Jul 2008, Junio C Hamano wrote: > > ... > >> 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