From: Björn Gustavsson Date: Sat, 13 Feb 2010 11:36:20 GMT Subject: Re: [PATCH] add -p: make the beginning of the hunk easier to see Message-ID: <6672d0161002130336l6e214a6fh6907db8fa64485be@mail.gmail.com> In-Reply-To: <20100213112557.GA5165@coredump.intra.peff.net> 2010/2/13 Jeff King : > On Sat, Feb 13, 2010 at 06:23:43AM -0500, Jeff King wrote: > Side note. Even if we did want to do something like this, your > implementation is probably not the right way. It will print the huge > "===" separator even after the last hunk. You would want to keep a > "$shown_any" variable and output the separator before showing a hunk > instead. OK. I can fix that if there seems to be any interest to include it. -- Björn Gustavsson, Erlang/OTP, Ericsson AB