Re: [PATCH] gitk : fix missing lines when displaying diff.
- From
Paul Mackerras <paulus@samba.org>
- Date
- Mar 7, 2006, 22:17 UTC
- Message-ID
- <17422.1637.975579.478563@cargo.ozlabs.ibm.com>
- In-Reply-To
- <20060307204648.GA13620@localhost>
Robert Fitzsimons writes:
Show 5 quoted lines
> 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.