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

Re: [PATCH] Make --color available to git-status

From
Matthieu Moy <matthieu.moy@imag.fr>
Date
May 6, 2007, 13:58 UTC
Message-ID
<vpq64762gwa.fsf@bauges.imag.fr>
In-Reply-To
<Pine.LNX.4.64.0705051956200.4015@racer.site>
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
Show 13 quoted lines
> Hi,
>
> On Sat, 5 May 2007, Matthieu Moy wrote:
>
>> Git has a nice colored output for status, using
>> 
>> $ git runstatus --color
>> 
>> However, this --color is not made available to git-status itself.
>
> AFAIR there have been attempts to enable this by default, when git-status 
> is run interactively (i.e. its output is not piped). However, this proved 
> to be remarkably complex, given that the output of runstatus _is_ piped.

It would definitely be cool to have it enabled by default, but just having the option (which means in particular that users can use it in an alias) should be the minimum.

I don't have enough experience with git hacking to do all the way you suggest, so I'm starting with easy things ;-).

-- 
Matthieu
Previous: Johannes SchindelinNext: Jeff King
Message 3 of 4 in “Make --color available to git-status”
  1. Make --color available to git-statusMatthieu Moy, May 5, 2007
  2. Johannes SchindelinMay 5, 2007
  3. Matthieu MoyMay 6, 2007
  4. Jeff KingMay 6, 2007

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.