From: Paul Mackerras Date: Tue, 07 Mar 2006 22:17:09 GMT Subject: Re: [PATCH] gitk : fix missing lines when displaying diff. Message-ID: <17422.1637.975579.478563@cargo.ozlabs.ibm.com> In-Reply-To: <20060307204648.GA13620@localhost> Robert Fitzsimons writes: > Lines which are added (removed) and begin with +++ (---) are not shown > correctly when displaying in the diff panel. > > The +++ and --- lines are part of the diff header, with the +++ > indicating the end of the header. Thanks for pointing out the easy fix. I had been going to do something much more complicated. :) However, your patch didn't apply due to the whitespace being munged. I committed an equivalent fix, but I took the opportunity to change the [regexp] to a couple of [string compare]s as well. Paul.