summaryrefslogtreecommitdiff
path: root/builtin/merge-index.c
diff options
context:
space:
mode:
authorDerrick Stolee <dstolee@microsoft.com>2021-04-01 01:49:48 (GMT)
committerJunio C Hamano <gitster@pobox.com>2021-04-14 20:47:13 (GMT)
commit46eb6e31ef01684ec2dc64f690a63446022940e5 (patch)
tree76e4727615ea8f54ca91ebc12004bd1b57099e4d /builtin/merge-index.c
parent2227ea175f9d2660c66f1bf15e2cd1ad75c9d4ca (diff)
downloadgit-46eb6e31ef01684ec2dc64f690a63446022940e5.zip
git-46eb6e31ef01684ec2dc64f690a63446022940e5.tar.gz
git-46eb6e31ef01684ec2dc64f690a63446022940e5.tar.bz2
grep: ensure full index
Before iterating over all cache entries, ensure that a sparse index is expanded to a full one so we do not miss blobs to scan. Later, this can integrate more carefully with sparse indexes with proper testing. 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/merge-index.c')
0 files changed, 0 insertions, 0 deletions