From: Alexander Litvinov Date: Fri, 01 Aug 2008 11:11:06 GMT Subject: Re: [PATCH] git-svn now work with crlf convertion enabled. Message-ID: <200808011811.06984.litvinov2004@gmail.com> In-Reply-To: <7vbq0dtawp.fsf@gitster.siamese.dyndns.org> > To being able to synchronize efficiently in both ways, you need to store > files exactly as they were received from SVN then there will be no > problem with applying binary delta patch. All CRLF conversion should be > done on checkout and checkin from/to Git repository. Sorry I have lost the mind flow here. 1. We 'fetch' files from svn as is. Yes, we know that svn use delta to rebuild original file. 2. We commit file to git. Right here we use git-hash-object. As I understand we _have_ to do convertion CRLF->LF here. 3. In some days we will checkout file from git and wil do LF->CRLF convertion. I thought this is a right workflow. - We could store original file too at step 2 somwhow to be able to use delta at step 1. - We can't skip convertion at step 2. Overwise git will store files with CRLF. Am I wrong ?