summaryrefslogtreecommitdiffstats
path: root/builtin/checkout-index.c
diff options
context:
space:
mode:
authorDerrick Stolee <dstolee@microsoft.com>2021-04-01 03:49:42 +0200
committerJunio C Hamano <gitster@pobox.com>2021-04-14 22:46:48 +0200
commit54beed24d22867a98fc247e1031e3486573f1553 (patch)
tree7d40d732ec46c65fbc595f7f60d3c0099b380773 /builtin/checkout-index.c
parentcache: move ensure_full_index() to cache.h (diff)
downloadgit-54beed24d22867a98fc247e1031e3486573f1553.tar.xz
git-54beed24d22867a98fc247e1031e3486573f1553.zip
add: 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 'builtin/checkout-index.c')
0 files changed, 0 insertions, 0 deletions