summaryrefslogtreecommitdiff
path: root/refs/files-backend.c
diff options
context:
space:
mode:
authorLibravatar Derrick Stolee <dstolee@microsoft.com>2021-04-01 01:49:59 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-04-14 13:47:45 -0700
commitdc26b23ebc30adcb4aa54a5eccf2e47793984fa2 (patch)
tree9a863a0ce957a5bf7d4ff0a8d636f0377091835f /refs/files-backend.c
parentread-cache: ensure full index (diff)
downloadtgif-dc26b23ebc30adcb4aa54a5eccf2e47793984fa2.tar.xz
resolve-undo: 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>
Diffstat (limited to 'refs/files-backend.c')
0 files changed, 0 insertions, 0 deletions