aboutsummaryrefslogtreecommitdiffstats
path: root/t/t1700-split-index.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2023-09-12 12:32:35 -0700
committerJunio C Hamano <gitster@pobox.com>2023-09-12 16:21:53 -0700
commit83708f80fc5fc7202df0bf3c0951f85d31249fe3 (patch)
treee67aaee5bfd340024eb36f839ee7c96a263a1f70 /t/t1700-split-index.sh
parent606e088d5d9af2393b4b05a8a180162c129cd734 (diff)
downloadgit-83708f80fc5fc7202df0bf3c0951f85d31249fe3.tar.gz
test-tool: retire "index-version"
As "git update-index --show-index-version" can do the same thing, the 'index-version' subcommand in the test-tool lost its reason to exist. Remove it and replace its use with the end-user facing 'git update-index --show-index-version'. Helped-by: Linus Arver <linusa@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t1700-split-index.sh')
-rwxr-xr-xt/t1700-split-index.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t1700-split-index.sh b/t/t1700-split-index.sh
index b4ab166369..a7b7263b35 100755
--- a/t/t1700-split-index.sh
+++ b/t/t1700-split-index.sh
@@ -43,7 +43,7 @@ test_expect_success 'enable split index' '
git config splitIndex.maxPercentChange 100 &&
git update-index --split-index &&
test-tool dump-split-index .git/index >actual &&
- indexversion=$(test-tool index-version <.git/index) &&
+ indexversion=$(git update-index --show-index-version) &&
# NEEDSWORK: Stop hard-coding checksums.
if test "$indexversion" = "4"