Re: [BUG?] Fresh clone of jquery.git shows modifications?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2010-08-18 at 17:50 +0200, Thomas Berg wrote:
> 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


--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]