From: Dmitry Potapov Date: Wed, 30 Jul 2008 22:02:36 GMT Subject: Re: [PATCH] Respect crlf attribute even if core.autocrlf has not been set Message-ID: <20080730220236.GD7008@dpotapov.dyndns.org> In-Reply-To: <32541b130807301407m59eef936m5e07dd33a4eb5b04@mail.gmail.com> On Wed, Jul 30, 2008 at 05:07:49PM -0400, Avery Pennarun wrote: > > FWIW, this problem would apply to any system that incrementally > imports into git from another system using binary deltas. Not necessary. It depends on how import is done. You should not apply this binary deltas to your working tree, but to files in the repo. And obviously those files that are imported should be stored as is without any conversion. In the same way as if you clone some git repo, you do not apply any commit conversion to any existing commit. This conversion should be done for *new* commits that you create locally. So, the problem with git-svn is mostly due to how the import is done. Of course, the other part of that problem is that conversion setting in Git and SVN for text files specified very differently. Dmitry