Re: [PATCH v4 09/10] config: add core.untrackedCache
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jan 8, 2016, 19:43 UTC
- Message-ID
- <xmqqpoxb26xv.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <CAP8UFD2eJjR4QxtE0x8BbKOAGwi4cwERG7bF89apPbJye356AQ@mail.gmail.com>
Christian Couder <christian.couder@gmail.com> writes:
> I just tried Duy's approach by moving into read_index_from() the code > I had put in wt_status_collect_untracked() and it doesn't work because > "git status" calls read_index_from() before calling > git_default_core_config().
I didn't expect to (and didn't want to) see the configuration be dead by git_default_core_config() in the first place, though. I instead was expecting that it would be done through the caching layer, e.g. by calling git_config_get_maybe_bool() interface when read_index_from() wants to see if it needs to muck with the existing (or missing) extension.