summaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-11-15 12:14:37 +0900
committerJunio C Hamano <gitster@pobox.com>2017-11-15 12:14:37 +0900
commite539a834555583a482c780b11927b885f8777e90 (patch)
tree97269ea05540ea06d1709c4138e14b3284b2c85c /builtin
parent36d75581a4966f5d56403d1a01d60e4dc45a8ab0 (diff)
parent00ec50e56d136de41f43c33f39cdbee83f3e4458 (diff)
downloadgit-e539a834555583a482c780b11927b885f8777e90.tar.gz
Merge branch 'bp/read-index-from-skip-verification'
Drop (perhaps overly cautious) sanity check before using the index read from the filesystem at runtime. * bp/read-index-from-skip-verification: read_index_from(): speed index loading by skipping verification of the entry order
Diffstat (limited to 'builtin')
-rw-r--r--builtin/fsck.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin/fsck.c b/builtin/fsck.c
index 5f91116d73..04846d46f9 100644
--- a/builtin/fsck.c
+++ b/builtin/fsck.c
@@ -759,6 +759,7 @@ int cmd_fsck(int argc, const char **argv, const char *prefix)
if (keep_cache_objects) {
verify_index_checksum = 1;
+ verify_ce_order = 1;
read_cache();
for (i = 0; i < active_nr; i++) {
unsigned int mode;