diff options
Diffstat (limited to 'builtin/fsck.c')
-rw-r--r-- | builtin/fsck.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/builtin/fsck.c b/builtin/fsck.c index e6a80e5404..87a99b0108 100644 --- a/builtin/fsck.c +++ b/builtin/fsck.c @@ -881,6 +881,8 @@ int cmd_fsck(int argc, const char **argv, const char *prefix) verify_index_checksum = 1; verify_ce_order = 1; read_cache(); + /* TODO: audit for interaction with sparse-index. */ + ensure_full_index(&the_index); for (i = 0; i < active_nr; i++) { unsigned int mode; struct blob *blob; |