@matheusbsbs / matheus-bagliano / commits / 47ee06f122
Fork 0

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>

Jeff King committed Jan 5, 2008 at 04:57 UTC 47ee06f1224cc355d0d5fffb0a65b831790b2845
1 file changed +2 -1
Documentation/config.txt
+2 -1
@@ -406,7 +406,8 @@ color.diff.<slot>::
406 in color.branch.<slot>.
407
408 color.interactive::
409 - When set to `always`, always use colors in `git add --interactive`.
409 + When set to `always`, always use colors for interactive prompts
410 + and displays (such as those used by "git add --interactive").
411 When false (or `never`), never. When set to `true` or `auto`, use
412 colors only when the output is to the terminal. Defaults to false.
413