From: David Kastrup Date: Tue, 18 Sep 2007 14:18:14 GMT Subject: Re: [PATCH 1/3] git-apply: fix whitespace stripping Message-ID: <867imo3vmh.fsf@lola.quinscape.zz> In-Reply-To: <20070918131237.GA12120@fieldses.org> "J. Bruce Fields" writes: > On Tue, Sep 18, 2007 at 10:55:25AM +0200, David Kastrup wrote: >> As far as I can see, this does not really work since it does not >> maintain an idea of a current column. >> >> If you have >> >> abcd >> >> then indeed the resulting conversion needs to be >> whereas with >> >> abc >> >> the resulting conversion needs to be just > > Note that this code *only* handles whitespace in the initial indent; > processing stops as soon as it hits anything other than a tab or an > indent. > > Given that, I believe the proposed patch is correct. Am I missing > something else? Don't think so. Sorry for the noise. -- David Kastrup