Thread (58 messages) 58 messages, 11 authors, 2016-06-15

Re: [PATCH/RFC 0/3] Per-repository end-of-line normalization

flat view

From: Avery Pennarun <hidden>
Date: 2016-06-15 22:48:46

On Fri, May 7, 2010 at 5:23 PM, Linus Torvalds
[off-list ref] wrote:
On Fri, 7 May 2010, Eyvind Bernhardsen wrote:
quoted
I don't understand.  All you have to do is add "* auto-eol=true" to your
.gitattributes, and line endings will be normalized exactly as if you'd
set "core.autocrlf".  Why would you have to write totally new rules?
Which rules?
I think "* auto-eol=true" is just crazy. We would _never_ want to do that.
Any project that does that should be shot in the head.
In the interests of further making myself look like an idiot:

Just to clarify, is it crazy because that line would convert all
files, even binary ones, where core.autocrlf auto-detects whether
files are binary or text?

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