git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Julian Phillips <julian@quantumfyre.co.uk>
Date
Feb 13, 2010, 15:04 UTC
Message-ID
<da1290fab3da0339a2f08dc320e297f9@212.159.54.234>
In-Reply-To
<6672d0161002130634j6d9b4994w5cd44405fe9b98a1@mail.gmail.com>

On Sat, 13 Feb 2010 15:34:00 +0100, Björn Gustavsson <bgustavsson@gmail.com> wrote:

> 2010/2/13 Jeff King <peff@peff.net>:
>> 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
Show 13 quoted lines
>> "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
Previous: Björn GustavssonNext: Björn Gustavsson
Message 9 of 10 in “add -p: make the beginning of the hunk easier to see”
  1. add -p: make the beginning of the hunk easier to seeBjörn Gustavsson, Feb 13, 2010
  2. Jeff KingFeb 13, 2010
  3. Jeff KingFeb 13, 2010
  4. Björn GustavssonFeb 13, 2010
  5. Björn GustavssonFeb 13, 2010
  6. Björn GustavssonFeb 13, 2010
  7. Jeff KingFeb 13, 2010
  8. Björn GustavssonFeb 13, 2010
  9. Julian PhillipsFeb 13, 2010
  10. Björn GustavssonFeb 13, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.