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

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

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
May 5, 2007, 17:58 UTC
Message-ID
<Pine.LNX.4.64.0705051956200.4015@racer.site>
In-Reply-To
<11783866694076-git-send-email-Matthieu.Moy@imag.fr>
Hi,
On Sat, 5 May 2007, Matthieu Moy wrote:
Show 5 quoted lines
> 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.

IMHO the proper solution would be to go the full nine yards, and teach runstatus about the remaining parts of git-status. Then, automatic color works automatically.

Ciao, Dscho

Previous: Matthieu MoyNext: Matthieu Moy
Message 2 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.