]> git.ipfire.org Git - thirdparty/git.git/commit
entry: ensure full index
authorDerrick Stolee <dstolee@microsoft.com>
Thu, 1 Apr 2021 01:49:55 +0000 (01:49 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 14 Apr 2021 20:47:35 +0000 (13:47 -0700)
commit3450a304aaa20707a696176441a8bbfe6d5431a3
tree4bb042e653a1f4ce83e7132d96efe865abf35c44
parentd425f65127562e3a7f308b1ccfe385950f96e8ec
entry: ensure full index

Before iterating over all cache entries, ensure that a sparse index is
expanded to a full index to avoid unexpected behavior.

Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Reviewed-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
entry.c