Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH] git-status: colorize status output

From: Jeff King <hidden>
Date: 2016-06-15 22:42:35

On Sat, Aug 05, 2006 at 10:27:59PM +0200, Matthias Lederhofer wrote:
I would suggest that all scripts that use colors have a
always/auto/never (with boolean fallback) option and also honor
pager.color if the pager is in use.
I'll send out a patch in a moment.
I don't see the case where git-status and git status behave
differently (except for git -p status but git-status does not have an
option for paging at all).
Sorry, I didn't say what I meant at all. My problem was that one
cannot get color with a pager using git-status (by doing
'git-status | less'). The output is not a tty, but GIT_PAGER_IN_USE is
not set (and of course I cannot use '-p'). However, that is a moot point
with always/auto/never, since in such a case I can just use 'always'.

-Peff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help