From: Junio C Hamano Date: Sun, 06 Aug 2006 00:38:02 GMT Subject: Re: [PATCH] git-status: support always/auto/never in colorization Message-ID: <7vac6id7h1.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <20060805235756.GA15075@coredump.intra.peff.net> Jeff King writes: > Signed-off-by: Jeff King > --- > 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.