Re: [BUG?] Fresh clone of jquery.git shows modifications?
- From
Will Palmer <wmpalmer@gmail.com>
- Date
- Aug 18, 2010, 16:37 UTC
- Message-ID
- <1282149456.24584.114.camel@wpalmer.simply-domain>
- In-Reply-To
- <AANLkTik8RGR4OTeZYsttyBtiywGU7Wtz3gQsTjoqAQPD@mail.gmail.com>
On Wed, 2010-08-18 at 17:50 +0200, Thomas Berg wrote:
Show 13 quoted lines
> Hi, > [snip] > > Just to re-state: This is not "my repository". That is, I don't consider > > it to be. So I would prefer only solutions which involve editing > > something unversioned, such as .git/config, rather than making random > > patches which feel very much like work-arounds to a git problem. > > Such a solution exists, you can create a file .git/info/attributes, > which will override the faulty .gitattributes file in the repository > [1]. Then you could make git treat all files as binary files, making > no conversions. Using this unversioned file also enables you to jump > back in history, rebase etc. without problems. >
.git/info/attributes * -crlf
seems to be what I was looking for! Thank you.
Though I very much think the way git currently acts in this situation is quite inexcusably broken.
> Hope this helps, > Thomas > > [1] http://www.kernel.org/pub/software/scm/git/docs/gitattributes.html