Re: core.autocrlf considered half-assed

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

 



Hi,

On Tue, 9 Mar 2010, Dmitry Potapov wrote:

> On Mon, Mar 08, 2010 at 12:29:01PM +0100, Johannes Schindelin wrote:
> > 
> > Easiest example:
> > 
> > $ git clone -n git://repo.or.cz/git.git html-docs
> > $ cd html-docs/
> > $ git config core.autocrlf true
> > $ git checkout -t origin/html
> > $ git status
> 
> As Junio explained in another mail, it was intentional to have all HTML 
> files with CRLF, because they are supposed to have that ending on all 
> platforms. What is missing, however, is .gitattributes, which would tell 
> to Git that we do not want to autocrlf conversion for HTML files.

That is just papering over the real culprit: Git checks something out. 
This should be clean. But then Git says it is not.

Ciao,
Dscho

--
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]