1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-06-13 08:27:05 +02:00

Document the color.interactive semantics

There are two possible confusions with the color.interactive
description:

  1. the short name "interactive" implies that it covers all
     interactive commands; let's explicitly make it so, even
     though there are no other interactive commands which
     currently use it

  2. Not all parts of "git add --interactive" are controlled
     by color.interactive (specifically, the diffs require
     tweaking color.diff). So let's clarify that it applies
     only to displays and prompts.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Jeff King 2008-01-05 04:57:44 -05:00 committed by Junio C Hamano
parent f87e310d2c
commit 47ee06f122

View File

@ -406,7 +406,8 @@ color.diff.<slot>::
in color.branch.<slot>.
color.interactive::
When set to `always`, always use colors in `git add --interactive`.
When set to `always`, always use colors for interactive prompts
and displays (such as those used by "git add --interactive").
When false (or `never`), never. When set to `true` or `auto`, use
colors only when the output is to the terminal. Defaults to false.