Thread (10 messages) flat view 10 messages, 3 authors, 2016-06-15

Re: [PATCH] add -p: make the beginning of the hunk easier to see

From: Jeff King <hidden>
Date: 2016-06-15 22:48:14

On Sat, Feb 13, 2010 at 12:42:56PM +0100, Björn Gustavsson wrote:
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 @@").
You can tweak that color with the color.diff.frag config variable.
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).
If you are using color.interactive (or color.ui), that should already be
"bold blue". You can change it to red with color.interactive.prompt.

Personally, I prefer the color approach. It's less ugly looking (IMHO),
and it is configurable, so people who don't like it don't have to see
it. It's also already implemented, though one could perhaps make an
argument for changing the defaults.

-Peff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help