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

Re: CRLF support bugs (was: Re: .gitattributes glob matchingbroken)

From
Jeff King <peff@peff.net>
Date
Nov 5, 2008, 03:07 UTC
Message-ID
<20081105030702.GD20907@coredump.intra.peff.net>
In-Reply-To
<63BEA5E623E09F4D92233FB12A9F79430296676E@emailmn.mqsoftware.com>
On Tue, Nov 04, 2008 at 06:37:27AM -0600, Kelly F. Hickel wrote:
> From my point of view, the factoid that a particular file should be
> subjected to having its line endings munged is a _project_ decision.
> Whether or not to munge them on any given platform is a _local_
> decision.

Now that you spell it out, I am reminded that that is the argument I remember having seen in past discussions. And of course, that argues for .gitattributes being carried by the project, but the core.autocrlf _config_ being a local decision.

Which, perhaps not coincidentally, is how it is currently implemented. :)
-Peff
Previous: Kelly F. Hickel
Message 9 of 9 in “.gitattributes glob matching broken”
  1. Hannu KoivistoNov 2, 2008
  2. Jeff KingNov 3, 2008
  3. CRLF support bugs (was: Re: .gitattributes glob matching broken)Hannu Koivisto, Nov 3, 2008
  4. Hannu KoivistoNov 3, 2008
  5. Dmitry PotapovNov 3, 2008
  6. Hannu KoivistoNov 3, 2008
  7. Jeff KingNov 4, 2008
  8. Kelly F. HickelNov 4, 2008
  9. Jeff KingNov 5, 2008

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.