Even though there is "test-tool index-version", there wasn't an officially supported way for end-users to inspect the index version of an on-disk index. Let's have one. Junio C Hamano (3): update-index doc: v4 is OK with JGit and libgit2 update-index: add --show-index-version test-tool: retire "index-version" Documentation/git-update-index.txt | 14 ++++++++++---- Makefile | 1 - builtin/update-index.c | 19 +++++++++++++------ t/helper/test-index-version.c | 15 --------------- t/helper/test-tool.c | 1 - t/helper/test-tool.h | 1 - t/t1600-index.sh | 2 +- t/t1700-split-index.sh | 2 +- t/t2104-update-index-skip-worktree.sh | 6 +++--- t/t2107-update-index-basic.sh | 16 ++++++++++++++++ 10 files changed, 44 insertions(+), 33 deletions(-) delete mode 100644 t/helper/test-index-version.c -- 2.42.0-rc2-7-gf9972720e9