diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-11-15 12:14:37 +0900 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-11-15 12:14:37 +0900 |
commit | e539a834555583a482c780b11927b885f8777e90 (patch) | |
tree | 97269ea05540ea06d1709c4138e14b3284b2c85c /builtin | |
parent | Merge branch 'bc/submitting-patches-in-asciidoc' (diff) | |
parent | read_index_from(): speed index loading by skipping verification of the entry ... (diff) | |
download | tgif-e539a834555583a482c780b11927b885f8777e90.tar.xz |
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.c | 1 |
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; |