summaryrefslogtreecommitdiff
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorDerrick Stolee <dstolee@microsoft.com>2021-03-30 13:10:51 +0000
committerJunio C Hamano <gitster@pobox.com>2021-03-30 12:57:46 -0700
commit2782db3eed808c2a5097ccd5af813d3338c5f313 (patch)
tree6ac56cfd3574b97ba9e7f9a1471d2b6aba3ba663 /builtin/commit.c
parente2df6c397206c3c0791fb50466789730e8a334d8 (diff)
test-tool: don't force full index
We will use 'test-tool read-cache --table' to check that a sparse index is written as part of init_repos. Since we will no longer always expand a sparse index into a full index, add an '--expand' parameter that adds a call to ensure_full_index() so we can compare a sparse index directly against a full index, or at least what the in-memory index looks like when expanded in this way. Signed-off-by: Derrick Stolee <dstolee@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions