From: Junio C Hamano Date: Fri, 01 Aug 2008 05:09:08 GMT Subject: Re: [PATCH] git-svn now work with crlf convertion enabled. Message-ID: <7v63qluxsb.fsf@gitster.siamese.dyndns.org> In-Reply-To: <200808011023.32139.litvinov2004@gmail.com> Alexander Litvinov writes: > I dont think that disabling convertion is a good way. I really want to convert > my files. Possible solution is to pass two file names to git-hash-object: the > real file with content and the proposed file name in the working directory. > In this case git-hash-object will be able to make correct convertion. I think the optional parameter to say "pretend the content is from this path" makes sense even for (and especially for) hashing --stdin.