Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2008-02-18 | Add color.ui variable which globally enables colorization if set | Matthias Kestenholz | 1 | -0/+11 | |
Signed-off-by: Matthias Kestenholz <mk@spinlock.ch> Signed-off-by: Junio C Hamano <gitster@pobox.com> | |||||
2007-12-05 | git config --get-colorbool | Junio C Hamano | 1 | -1/+1 | |
This adds an option to help scripts find out color settings from the configuration file. git config --get-colorbool color.diff inspects color.diff variable, and exits with status 0 (i.e. success) if color is to be used. It exits with status 1 otherwise. If a script wants "true"/"false" answer to the standard output of the command, it can pass an additional boolean parameter to its command line, telling if its standard output is a terminal, like this: git config --get-colorbool color.diff true When called like this, the command outputs "true" to its standard output if color is to be used (i.e. "color.diff" says "always", "auto", or "true"), and "false" otherwise. Signed-off-by: Junio C Hamano <gitster@pobox.com> | |||||
2007-09-19 | Enable wt-status output to a given FILE pointer. | Kristian Høgsberg | 1 | -2/+2 | |
Still defaults to stdout, but you can now override wt_status.fp after calling wt_status_prepare(). Signed-off-by: Kristian Høgsberg <krh@redhat.com> Signed-off-by: Junio C Hamano <gitster@pobox.com> | |||||
2006-09-08 | Move color option parsing out of diff.c and into color.[ch] | Jeff King | 1 | -0/+12 | |
The intent is to lib-ify colorizing code so it can be reused. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <junkio@cox.net> |