aboutsummaryrefslogtreecommitdiffstats
path: root/t/helper/test-tool.h
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/helper/test-tool.h
parentupdate-index: add --show-index-version (diff)
downloadgit-83708f80fc5fc7202df0bf3c0951f85d31249fe3.tar.gz
git-83708f80fc5fc7202df0bf3c0951f85d31249fe3.zip
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/helper/test-tool.h')
-rw-r--r--t/helper/test-tool.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/t/helper/test-tool.h b/t/helper/test-tool.h
index ea2672436c..a641c3a81d 100644
--- a/t/helper/test-tool.h
+++ b/t/helper/test-tool.h
@@ -32,7 +32,6 @@ int cmd__getcwd(int argc, const char **argv);
int cmd__hashmap(int argc, const char **argv);
int cmd__hash_speed(int argc, const char **argv);
int cmd__hexdump(int argc, const char **argv);
-int cmd__index_version(int argc, const char **argv);
int cmd__json_writer(int argc, const char **argv);
int cmd__lazy_init_name_hash(int argc, const char **argv);
int cmd__match_trees(int argc, const char **argv);