Merge branch 'jh/sparse-index-resize-fix'
commit6f9e7cadf35796d798037782f149bec584ff803c
authorJunio C Hamano <gitster@pobox.com>
Fri, 10 Sep 2021 18:46:23 +0000 (10 11:46 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 10 Sep 2021 18:46:23 +0000 (10 11:46 -0700)
tree8efd2eb97ef7e419ea1882105c7424b98d6bb174
parentb4ceeef96221b026ea707416dff3480b3e3caf52
parentd9e9b44d7a022ebc57caa3762d1af7e6bf608d5f
Merge branch 'jh/sparse-index-resize-fix'

The sparse-index support can corrupt the index structure by storing
a stale and/or uninitialized data, which has been corrected.

* jh/sparse-index-resize-fix:
  sparse-index: copy dir_hash in ensure_full_index()