diff options
author | Junio C Hamano <gitster@pobox.com> | 2023-09-12 22:32:35 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-09-13 02:21:53 +0300 |
commit | 83708f80fc5fc7202df0bf3c0951f85d31249fe3 (patch) | |
tree | e67aaee5bfd340024eb36f839ee7c96a263a1f70 /t/t1600-index.sh | |
parent | 606e088d5d9af2393b4b05a8a180162c129cd734 (diff) |
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/t1600-index.sh')
-rwxr-xr-x | t/t1600-index.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t1600-index.sh b/t/t1600-index.sh index 9368d82f7d..62e7fd1596 100755 --- a/t/t1600-index.sh +++ b/t/t1600-index.sh @@ -118,7 +118,7 @@ test_index_version () { fi && git add a && echo $EXPECTED_OUTPUT_VERSION >expect && - test-tool index-version <.git/index >actual && + git update-index --show-index-version >actual && test_cmp expect actual ) } |