summaryrefslogtreecommitdiff
path: root/read-cache.c
diff options
context:
space:
mode:
authorDerrick Stolee <dstolee@microsoft.com>2021-04-01 01:49:57 (GMT)
committerJunio C Hamano <gitster@pobox.com>2021-04-14 20:47:40 (GMT)
commit465a04abc6e5f4fe2b93c662bab0319c1667180e (patch)
treed78eee4a6bd2bac0335cb45019839de0674d9159 /read-cache.c
parentf7ef64be0cda36e5188cfc712f61ba7279311b70 (diff)
downloadgit-465a04abc6e5f4fe2b93c662bab0319c1667180e.zip
git-465a04abc6e5f4fe2b93c662bab0319c1667180e.tar.gz
git-465a04abc6e5f4fe2b93c662bab0319c1667180e.tar.bz2
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 'read-cache.c')
0 files changed, 0 insertions, 0 deletions