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

Re: [PATCH] git-status: support always/auto/never in colorization

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:35

Jeff King [off-list ref] writes:
Signed-off-by: Jeff King <redacted>
---
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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help