From 58300f4743231724686d9ddf481aeefa4f90d2f7 Mon Sep 17 00:00:00 2001 From: Derrick Stolee Date: Tue, 30 Mar 2021 13:10:59 +0000 Subject: sparse-index: add index.sparse config option When enabled, this config option signals that index writes should attempt to use sparse-directory entries. Signed-off-by: Derrick Stolee Signed-off-by: Junio C Hamano --- repository.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'repository.h') diff --git a/repository.h b/repository.h index e06a230156..a45f7520fd 100644 --- a/repository.h +++ b/repository.h @@ -42,7 +42,8 @@ struct repo_settings { int core_multi_pack_index; - unsigned command_requires_full_index:1; + unsigned command_requires_full_index:1, + sparse_index:1; }; struct repository { -- cgit v1.2.3