diff options
| author | Derrick Stolee <dstolee@microsoft.com> | 2021-04-01 01:49:58 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2021-04-14 13:47:42 -0700 |
| commit | 0c18c059a152058e30e23c4edcd24b3992599503 (patch) | |
| tree | cc65da889deb7845dd356340627ac670916640b8 /builtin/commit.c | |
| parent | pathspec: ensure full index (diff) | |
| download | git-0c18c059a152058e30e23c4edcd24b3992599503.tar.gz git-0c18c059a152058e30e23c4edcd24b3992599503.zip | |
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 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions
