diff options
author | Derrick Stolee <dstolee@microsoft.com> | 2021-04-01 01:49:57 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-04-14 13:47:40 -0700 |
commit | 465a04abc6e5f4fe2b93c662bab0319c1667180e (patch) | |
tree | d78eee4a6bd2bac0335cb45019839de0674d9159 /builtin/commit-tree.c | |
parent | merge-recursive: ensure full index (diff) | |
download | tgif-465a04abc6e5f4fe2b93c662bab0319c1667180e.tar.xz |
pathspec: 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-tree.c')
0 files changed, 0 insertions, 0 deletions