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