]> git.99rst.org Git - git.git/commit
update-index: ensure full index
authorDerrick Stolee <redacted>
Thu, 1 Apr 2021 01:49:53 +0000 (01:49 +0000)
committerJunio C Hamano <redacted>
Wed, 14 Apr 2021 20:47:29 +0000 (13:47 -0700)
commit2508df0272fdae3025b53366ac6b456920bc0de0
treebeb982d34a45c40e4e503c7f370d17a1015b63c6
parenta02912019a7a473b039d28713fb6419bf472386f
update-index: 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>
builtin/update-index.c
git clone https://git.99rst.org/PROJECT