More Sparse Index Integrations
- Mentors
- Derrick Stolee, Victoria Dye
- Organization
- Git
- Technologies
- shell script, git, c language
- Topics
- version control, dvcs
The spare index feature accelerates Git commands when using sparse-checkout in cone mode. This works by modifying the on-disk index file in a way that includes “sparse directory” entries instead of only file entries. This requires care when enabling the sparse index for different commands, as custom logic might be necessary. At minimum, interaction with the sparse index needs to be carefully tested in the Git test suite when enabling it.
The most-used commands have already been integrated with the sparse index feature. Keep integrating the remaining commands with the sparse index.