Re: [PATCH] add -p: make the beginning of the hunk easier to see
- From
Björn Gustavsson <bgustavsson@gmail.com>
- Date
- Feb 13, 2010, 11:42 UTC
- Message-ID
- <6672d0161002130342h348765a0j76f63972c4bbe060@mail.gmail.com>
- In-Reply-To
- <6672d0161002130333m55372972x909234cae7bd0d82@mail.gmail.com>
2010/2/13 Björn Gustavsson <bgustavsson@gmail.com>:
Show 7 quoted lines
> 2010/2/13 Jeff King <peff@peff.net>: >> On Sat, Feb 13, 2010 at 12:07:51PM +0100, Björn Gustavsson wrote: >> >> Wow, I find this terrifically ugly. I guess you don't use >> color.interactive, which will output a colored hunk header? > > I do use color.interactive, but I didn't find that distinctive enough.
As an alternative to my patch, the color coding could be changed. The beginning of a chunk is now marked with a faint bluish color (the part that looks like "@@ -42,9 +43,8 @@").
Giving the "Stage this hunk..." prompt some noticeable color (such as red), could make it easier to the see beginning of the hunk. Or simply doing a form-feed (but I suppose not everyone would like that).
-- Björn Gustavsson, Erlang/OTP, Ericsson AB