From: Linus Torvalds <torvalds@linux-foundation.org>
To: Robin Rosenberg <robin.rosenberg.lists@dewire.com>
Cc: Raimund Bauer <ray007@gmx.net>, git <git@vger.kernel.org>
Subject: Re: Problems with autoCRLF?
Date: Fri, 9 Mar 2007 13:38:52 -0800 (PST) [thread overview]
Message-ID: <Pine.LNX.4.64.0703091337270.10832@woody.linux-foundation.org> (raw)
In-Reply-To: <200703092051.47441.robin.rosenberg.lists@dewire.com>
On Fri, 9 Mar 2007, Robin Rosenberg wrote:
> fredag 09 mars 2007 19:15 skrev Raimund Bauer:
> > Is it really intended that with a setting core.autoCRLF=true textfiles
> > are checked out with crlf-lineendings on linux-boxes?
> >
> > I found out because the git-compilation broke ...
> >
> > Now using core.autocrlf=input ;-)
>
> My guess is it's good for testing without having to compromise your
> computer (or with cygwin).
Exactly. I'd much rather have git work consistently across different
architectures, so that we can develop and test the CRLF code under UNIX,
without having to actually have to use the brain damage that is Windows.
So yes, don't set "core.autocrlf=true" under UNIX. It will "work", but it
will work exactly in the sense of "you can test what we'd do under
Windows" ;)
Linus
next prev parent reply other threads:[~2007-03-09 21:39 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-09 18:15 Problems with autoCRLF? Raimund Bauer
2007-03-09 19:51 ` Robin Rosenberg
2007-03-09 21:38 ` Linus Torvalds [this message]
2007-03-10 1:24 ` Junio C Hamano
2007-03-10 12:23 ` Raimund Bauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.64.0703091337270.10832@woody.linux-foundation.org \
--to=torvalds@linux-foundation.org \
--cc=git@vger.kernel.org \
--cc=ray007@gmx.net \
--cc=robin.rosenberg.lists@dewire.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).