git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Junio C Hamano <junkio@cox.net>
Date
Aug 6, 2006, 00:38 UTC
Message-ID
<7vac6id7h1.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<20060805235756.GA15075@coredump.intra.peff.net>
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.
Previous: Jeff King
Message 2 of 2 in “git-status: support always/auto/never in colorization”
  1. git-status: support always/auto/never in colorizationJeff King, Aug 5, 2006
  2. Junio C HamanoAug 6, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.