From: Thomas Rast Date: Thu, 01 Jan 2009 19:48:11 GMT Subject: Re: git has modified files after clean checkout Message-ID: <200901012048.13630.trast@student.ethz.ch> In-Reply-To: <81bfc67a0901010048l7a4a8fa1h42f7cd448dfc704@mail.gmail.com> Caleb Cushing wrote: > > The files you mention contain CRLF. Do you have core.autocrlf set > > globally somewhere, perhaps in your ~/.gitconfig? > > yes I have it set to input Do you have any .gitattributes? A few days ago, ludde on IRC bumped into the problem that git-checkout applies the .gitattributes that are present in the tree *before* the checkout. Naturally this means that the .gitattributes do not apply at all during the first checkout at the end of cloning. In ludde's case, this caused git-blame to think the file had all line endings changed compared to the index version. -- Thomas Rast trast@{inf,student}.ethz.ch