git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Improving CRLF error message; also, enabling autocrlf and?safecrlf by default

From
Jeff King <peff@peff.net>
Date
Feb 16, 2009, 03:43 UTC
Message-ID
<20090216034311.GA12616@coredump.intra.peff.net>
In-Reply-To
<loom.20090216T032551-612@post.gmane.org>
On Mon, Feb 16, 2009 at 03:29:23AM +0000, Jason Spiro wrote:
Show 10 quoted lines
> > > 2.  In addition, could you please enable the core.autocrlf and 
> core.safecrlf 
> > > options by default in the next version of Git?
> > 
> > I think that is up to your platform packaging, I think. I think msysgit
> > is shipping with core.autocrlf on by default these days. But again, I
> > don't know very much about that area.
> 
> Are you saying that only my platform's packager can decide what options are 
> enabled by default, and that you upstream folks have no influence at all?  :)

Not necessarily. But I don't think we want core.autocrlf on by default for all platforms. So the decision needs to be made on a platform by platform basis. The cleanest way to do that (in my opinion) is through a system-level configuration file. But git built from src does not distribute such a configuration file at all; that seems to be in the scope of package distributors.

-Peff
Previous: Jason SpiroNext: Junio C Hamano
Message 6 of 7 in “Improving CRLF error message; also, enabling autocrlf and safecrlf by default”
  1. Jason SpiroFeb 16, 2009
  2. Jeff KingFeb 16, 2009
  3. Junio C HamanoFeb 16, 2009
  4. Jeff KingFeb 16, 2009
  5. Jason SpiroFeb 16, 2009
  6. Jeff KingFeb 16, 2009
  7. Junio C HamanoFeb 16, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.