mbox series

[v2,0/3] "update-index --show-index-version"

Message ID 20230818233729.2766281-1-gitster@pobox.com (mailing list archive)
Headers show
Series "update-index --show-index-version" | expand

Message

Junio C Hamano Aug. 18, 2023, 11:37 p.m. UTC
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