Re: [PATCH v2] Documentation/config: note trailing newline with --type=color
- From
Jeff King <peff@peff.net>
- Date
- Mar 7, 2019, 02:58 UTC
- Message-ID
- <20190307025821.GB25656@sigill.intra.peff.net>
- In-Reply-To
- <be22686b93fa76f0ff63a7d93cb731545c57cb22.1551916338.git.me@ttaylorr.com>
On Wed, Mar 06, 2019 at 03:52:38PM -0800, Taylor Blau wrote:
Show 9 quoted lines
> In 63e2a0f8e9 (builtin/config: introduce `color` type specifier, > 2018-04-09), `--type=color` was introduced and preferred to the > old-style `--get-color`. > > The two behave the same in almost every way, save for the fact that > `--type=color` prints a trailing newline where `--get-color` does not. > Instead of introducing ambiguity between `--type=color` and the other > `--type` variants, document the difference between `--type=color` and > `--get-color` instead.
I just responded to the one Junio posted elsewhere in the thread, but for the record this one is fine to me, too (and it gets the literal quoting right ;) ).
-Peff