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