summaryrefslogtreecommitdiffstats
path: root/version.h
diff options
context:
space:
mode:
authorDerrick Stolee <dstolee@microsoft.com>2021-04-01 03:49:59 +0200
committerJunio C Hamano <gitster@pobox.com>2021-04-14 22:47:45 +0200
commitdc26b23ebc30adcb4aa54a5eccf2e47793984fa2 (patch)
tree9a863a0ce957a5bf7d4ff0a8d636f0377091835f /version.h
parentread-cache: ensure full index (diff)
downloadgit-dc26b23ebc30adcb4aa54a5eccf2e47793984fa2.tar.xz
git-dc26b23ebc30adcb4aa54a5eccf2e47793984fa2.zip
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 'version.h')
0 files changed, 0 insertions, 0 deletions