]> git.99rst.org Git - git.git/commit
resolve-undo: ensure full index
authorDerrick Stolee <redacted>
Thu, 1 Apr 2021 01:49:59 +0000 (01:49 +0000)
committerJunio C Hamano <redacted>
Wed, 14 Apr 2021 20:47:45 +0000 (13:47 -0700)
commitdc26b23ebc30adcb4aa54a5eccf2e47793984fa2
tree9a863a0ce957a5bf7d4ff0a8d636f0377091835f
parent0c18c059a152058e30e23c4edcd24b3992599503
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 <redacted>
Reviewed-by: Elijah Newren <redacted>
Signed-off-by: Junio C Hamano <redacted>
resolve-undo.c
git clone https://git.99rst.org/PROJECT