summaryrefslogtreecommitdiff
path: root/dir.c
diff options
context:
space:
mode:
authorLibravatar Derrick Stolee <dstolee@microsoft.com>2021-04-01 01:49:53 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-04-14 13:47:29 -0700
commit2508df0272fdae3025b53366ac6b456920bc0de0 (patch)
treebeb982d34a45c40e4e503c7f370d17a1015b63c6 /dir.c
parentstash: ensure full index (diff)
downloadtgif-2508df0272fdae3025b53366ac6b456920bc0de0.tar.xz
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 <dstolee@microsoft.com> Reviewed-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'dir.c')
0 files changed, 0 insertions, 0 deletions