travis: run tests with GIT_TEST_SPLIT_INDEX
[gitweb.git] / repository.c
index bb2fae5446b7ea8d2bfac87faa30c165f714d121..161e2d712aa29625bc6f8d616c5827258922d54a 100644 (file)
@@ -229,5 +229,5 @@ int repo_read_index(struct repository *repo)
        if (!repo->index)
                repo->index = xcalloc(1, sizeof(*repo->index));
 
-       return read_index_from(repo->index, repo->index_file);
+       return read_index_from(repo->index, repo->index_file, repo->gitdir);
 }