]> git.99rst.org Git - git.git/commit
read-cache: ensure full index
authorDerrick Stolee <redacted>
Thu, 1 Apr 2021 01:49:58 +0000 (01:49 +0000)
committerJunio C Hamano <redacted>
Wed, 14 Apr 2021 20:47:42 +0000 (13:47 -0700)
commit0c18c059a152058e30e23c4edcd24b3992599503
treecc65da889deb7845dd356340627ac670916640b8
parent465a04abc6e5f4fe2b93c662bab0319c1667180e
read-cache: 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 <redacted>
Reviewed-by: Elijah Newren <redacted>
Signed-off-by: Junio C Hamano <redacted>
read-cache.c
git clone https://git.99rst.org/PROJECT