diff options
author | Derrick Stolee <dstolee@microsoft.com> | 2021-04-01 01:49:59 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-04-14 13:47:45 -0700 |
commit | dc26b23ebc30adcb4aa54a5eccf2e47793984fa2 (patch) | |
tree | 9a863a0ce957a5bf7d4ff0a8d636f0377091835f /sideband.c | |
parent | read-cache: ensure full index (diff) | |
download | tgif-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 'sideband.c')
0 files changed, 0 insertions, 0 deletions