Re: [PATCH] Color support for "git-add -i"
- From
Wincent Colaiuta <win@wincent.com>
- Date
- Dec 5, 2007, 13:52 UTC
- Message-ID
- <D72C7087-61D9-4AEC-AA7F-52A1268F1EA8@wincent.com>
- In-Reply-To
- <475697BC.2090701@viscovery.net>
El 5/12/2007, a las 13:21, Johannes Sixt escribió:
Show 11 quoted lines
> Junio C Hamano schrieb:
>> +color.interactive::
>> + When true (or `always`), always use colors in `git add
>> + --interactive`. When false (or `never`), never. When set to
>> + `auto`, use colors only when the output is to the
>> + terminal. Defaults to false.
>
> Any particular reason why color.interactive = true should be
> different from
> color.diff = true? See 57f2b842 ("color.diff = true" is not "always"
> anymore)I wonder when you'd ever run an interactive command and not be in a terminal? ie. it doesn't make much sense to ever do "git add -i > foo", except perhaps from the test suite.
Notwithstanding, consistency for the sake of consistency is probably a good thing.
Cheers, Wincent