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

Re: [RFH] eol=lf on existing mixed line-ending files

From
Jeff King <peff@github.com>
Date
Apr 8, 2011, 16:06 UTC
Message-ID
<20110408160616.GA32709@sigill.intra.peff.net>
In-Reply-To
<4D9ED714.80307@drmicha.warpmail.net>
On Fri, Apr 08, 2011 at 11:36:20AM +0200, Michael J Gruber wrote:
Show 7 quoted lines
> > [1] The one thing still puzzling me about the jquery repo is how they
> > managed to make so many commits (including ones to mixed line ending
> > files) without seeing the dirty working tree state and committing it. Is
> > there some combination of config that makes this not happen?
> 
> When did they introduce the .gitattributes file?
> Also, maybe they're jgit users.

The gitattributes file was introduced in 2009, and there are several commits to mixed line-ending files between then and now. So it seems unlikely that they just won the race condition over and over.

I don't know whether they could be using jgit.
-Peff
Previous: Michael J GruberNext: Dmitry Potapov
Message 3 of 7 in “[RFH] eol=lf on existing mixed line-ending files”
  1. Jeff KingApr 7, 2011
  2. Michael J GruberApr 8, 2011
  3. Jeff KingApr 8, 2011
  4. Dmitry PotapovApr 9, 2011
  5. Jeff KingApr 9, 2011
  6. Dmitry PotapovApr 9, 2011
  7. Jay SoffianApr 12, 2011

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.