Re: [PATCH v1 12/19] Documentation/config: add splitIndex.maxPercentChange
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Nov 6, 2016, 17:16 UTC
- Message-ID
- <xmqqoa1scyuy.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <CAP8UFD2H6rZNQqg1VGNkes65KAk-4P160rjQSjFY3NjgZydZmA@mail.gmail.com>
Christian Couder <christian.couder@gmail.com> writes:
> I think it is easier for user to be able to just set core.splitIndex > to true to enable split-index.
You can have that exact benefit by making core.splitIndex to bool-or-more. If your default is 20%, take 'true' as if the user specified 20% and take 'false' as if the user specified 100% (or is it 0%? I do not care about the details but you get the point).