path: root/Documentation/config.txt
diff options
authorJeff King <>2008-01-05 09:57:44 (GMT)
committerJunio C Hamano <>2008-01-07 02:41:44 (GMT)
commit47ee06f1224cc355d0d5fffb0a65b831790b2845 (patch)
tree7974072307f503d3635b2584e84e3cc83974e522 /Documentation/config.txt
parentf87e310d2c53f412cf9ba0a04e06c974c17b9062 (diff)
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 <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to 'Documentation/config.txt')
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/config.txt b/Documentation/config.txt
index d44bc7a..1a90e6b 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -406,7 +406,8 @@ color.diff.<slot>::
in color.branch.<slot>.
- 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.