git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 18, 2023, 23:37 UTC
Message-ID
<20230818233729.2766281-1-gitster@pobox.com>

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
Next: Junio C Hamano
Message 1 of 17 in “"update-index --show-index-version"”
  1. 0/3 "update-index --show-index-version"Junio C Hamano, Aug 18, 2023
  2. 1/3 update-index doc: v4 is OK with JGit and libgit2Junio C Hamano, Aug 18, 2023
  3. Linus ArverSep 12, 2023
  4. Junio C HamanoSep 12, 2023
  5. 2/3 update-index: add --show-index-versionJunio C Hamano, Aug 18, 2023
  6. Linus ArverSep 12, 2023
  7. Junio C HamanoSep 12, 2023
  8. 3/3 test-tool: retire "index-version"Junio C Hamano, Aug 18, 2023
  9. Linus ArverSep 12, 2023
  10. 0/3 "update-index --show-index-version"Junio C Hamano, Sep 12, 2023
  11. 1/3 update-index doc: v4 is OK with JGit and libgit2Junio C Hamano, Sep 12, 2023
  12. 2/3 update-index: add --show-index-versionJunio C Hamano, Sep 12, 2023
  13. 2/3 update-index: add --show-index-versionTeng Long, Nov 14, 2023
  14. Junio C HamanoNov 14, 2023
  15. 3/3 test-tool: retire "index-version"Junio C Hamano, Sep 12, 2023
  16. Linus ArverSep 14, 2023
  17. Junio C HamanoSep 14, 2023

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.