aboutsummaryrefslogtreecommitdiffstats
path: root/scalar.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2023-01-16 12:07:47 -0800
committerJunio C Hamano <gitster@pobox.com>2023-01-16 12:07:47 -0800
commitffd923868574a004ec20a80dbc3b813da9a93b08 (patch)
treefb80c1309a6cd0528d7dcc77d20a18451ef278fc /scalar.c
parentMerge branch 'ws/single-file-cone' (diff)
parentfeatures: feature.manyFiles implies fast index writes (diff)
downloadgit-ffd923868574a004ec20a80dbc3b813da9a93b08.tar.gz
git-ffd923868574a004ec20a80dbc3b813da9a93b08.zip
Merge branch 'ds/omit-trailing-hash-in-index'
Introduce an optional configuration to allow the trailing hash that protects the index file from bit flipping. * ds/omit-trailing-hash-in-index: features: feature.manyFiles implies fast index writes test-lib-functions: add helper for trailing hash read-cache: add index.skipHash config option hashfile: allow skipping the hash function
Diffstat (limited to 'scalar.c')
-rw-r--r--scalar.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/scalar.c b/scalar.c
index 6c52243cdf..b49bb8c24e 100644
--- a/scalar.c
+++ b/scalar.c
@@ -143,6 +143,7 @@ static int set_recommended_config(int reconfigure)
{ "credential.validate", "false", 1 }, /* GCM4W-only */
{ "gc.auto", "0", 1 },
{ "gui.GCWarning", "false", 1 },
+ { "index.skipHash", "false", 1 },
{ "index.threads", "true", 1 },
{ "index.version", "4", 1 },
{ "merge.stat", "false", 1 },