summaryrefslogtreecommitdiff
path: root/add-interactive.h
diff options
context:
space:
mode:
authorLibravatar Derrick Stolee <dstolee@microsoft.com>2021-04-01 01:49:58 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-04-14 13:47:42 -0700
commit0c18c059a152058e30e23c4edcd24b3992599503 (patch)
treecc65da889deb7845dd356340627ac670916640b8 /add-interactive.h
parentpathspec: ensure full index (diff)
downloadtgif-0c18c059a152058e30e23c4edcd24b3992599503.tar.xz
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 <dstolee@microsoft.com> Reviewed-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'add-interactive.h')
0 files changed, 0 insertions, 0 deletions