]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'pw/sparse-cache-tree-verify-fix'
authorJunio C Hamano <gitster@pobox.com>
Mon, 25 Oct 2021 23:06:57 +0000 (16:06 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 25 Oct 2021 23:06:57 +0000 (16:06 -0700)
Recent sparse-index addition, namely any use of index_name_pos(),
can expand sparse index entries and breaks any code that walks
cache-tree or existing index entries.  One such instance of such a
breakage has been corrected.

* pw/sparse-cache-tree-verify-fix:
  t1092: run "rebase --apply" without "-q" in testing
  sparse index: fix use-after-free bug in cache_tree_verify()

1  2 
cache-tree.c
t/t1092-sparse-checkout-compatibility.sh

diff --cc cache-tree.c
Simple merge