diff options
author | Derrick Stolee <dstolee@microsoft.com> | 2021-04-01 01:49:53 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-04-14 13:47:29 -0700 |
commit | 2508df0272fdae3025b53366ac6b456920bc0de0 (patch) | |
tree | beb982d34a45c40e4e503c7f370d17a1015b63c6 /builtin/commit.c | |
parent | a02912019a7a473b039d28713fb6419bf472386f (diff) |
update-index: 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/commit.c')
0 files changed, 0 insertions, 0 deletions