Re: [PATCH 3/5] sparse-index API: fix TODO, BUG() out on NULL ensure_full_index()
- From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
- Date
- Jan 10, 2023, 12:22 UTC
- Message-ID
- <230110.86sfgiziip.gmgdl@evledraar.gmail.com>
- In-Reply-To
- <f2e69f51-ae92-4383-d86d-4d5d29c684a6@iee.email>
On Tue, Jan 10 2023, Philip Oakley wrote:
Show 9 quoted lines
> On 10/01/2023 06:17, Ævar Arnfjörð Bjarmason wrote: >> Make the ensure_full_index() function stricter, and have it only >> accept a non-NULL "struct index_state". This function (and this >> behavior) was added in [1]. >> >> The only reason it needed to be this lax was due to interaction with >> repo_index_has_changes(). See the addition of that code in . > > Missing reference. Should this be [2]?
Yes, thanks. Will fix that in a re-roll (pending further comments, will wait a while).