From: Junio C Hamano Date: Wed, 20 Jun 2012 19:24:04 GMT Subject: Re: [PATCH 0/2] submodule add + autocrlf + safecrlf Message-ID: <7vehp9vlbf.fsf@alter.siamese.dyndns.org> In-Reply-To: <4FE211C8.3080007@kitware.com> Brad King writes: > On 06/20/2012 01:49 PM, Junio C Hamano wrote: >> I have a suspicion that "git config" should be taught about this >> kind of thing instead. >> >> Shoudn't your .git/config file that is outside the revision control >> also end with CRLF if your platform and project prefer CRLF over LF? > > That would be reasonable, but is beyond the scope I'm willing to > tackle myself. > > I don't actually have a project like this so I have no strong > opinion on this issue. If that is the case, my preference would be to wait until that "git config" change happens (provided that it is a reasonably way forward---it may turn out to be a bad idea) and do nothing to clutter "git submodule" at all. In the meantime, if there are real projects that are hurt by this, we can tell them to explicitly specify that .gitmodules is a LF text file in their .gitattributes.