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: Julian Phillips <hidden>
Date: 2016-06-15 22:48:14

On Sat, 13 Feb 2010 15:34:00 +0100, Björn Gustavsson
[off-list ref] wrote:
2010/2/13 Jeff King [off-list ref]:
quoted
On Sat, Feb 13, 2010 at 12:42:56PM +0100, Björn Gustavsson wrote:
If you are using color.interactive (or color.ui), that should already
be
quoted
"bold blue". You can change it to red with color.interactive.prompt.
Oops! Turned out I only had colors for "diff", "status", and "branch",
so the prompt had had no color. I configured my color settings the
day I started using git last spring (according to some tutorial or
getting started document) and haven't looked at the color
settings since.

Now it looks much better.

Personally, I would prefer if more colors were turned on by
default, or if there were a master setting to turn on all colors
at once.
quoting man git-config:

       color.ui
           When set to always, always use colors in all git commands which
are
           capable of colored output. When false (or never), never. When
set
           to true or auto, use colors only when the output is to the
           terminal. When more specific variables of color.* are set, they
           always take precedence over this setting. Defaults to false.

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