diff options
author | Derrick Stolee <dstolee@microsoft.com> | 2021-03-30 15:10:59 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-03-30 21:57:47 +0200 |
commit | 58300f4743231724686d9ddf481aeefa4f90d2f7 (patch) | |
tree | 0a73a7f7312d021f7891107d27f2ac0161e62202 /repository.h | |
parent | sparse-index: check index conversion happens (diff) | |
download | git-58300f4743231724686d9ddf481aeefa4f90d2f7.tar.xz git-58300f4743231724686d9ddf481aeefa4f90d2f7.zip |
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 <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'repository.h')
-rw-r--r-- | repository.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 { |