Re: [PATCH] git-status: support always/auto/never in colorization
Jeff King <peff@peff.net> writes:
Show 13 quoted lines
> Signed-off-by: Jeff King <peff@peff.net>
> ---
> This is on top of the previous two patches:
> git-status: colorize status output (me)
> git-status: do not use colors all the time (Matthias)
>
> I was hoping to join the term selection logic with the diff.color logic
> in git_config_termbool or similar (and a git-repo-config --termbool),
> but unfortunately that doesn't work since git-repo-config can't do an
> isatty test (since we call it as `git-repo-config`). In general, config
> parsing is a little awkward (and inefficient) in sh. Is there any
> interest in me converting git-commit/git-status to C builtins (I know
> Johannes will be happy...)?
I was planning to do only the status part in C anyway.