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

Re: [PATCH v2 1/3] update-index doc: v4 is OK with JGit and libgit2

From
LALinus Arver <linusa@google.com>
Date
Sep 12, 2023, 04:57 UTC
Message-ID
<owlyfs3kkmzd.fsf@fine.c.googlers.com>
In-Reply-To
<20230818233729.2766281-2-gitster@pobox.com>
Junio C Hamano <gitster@pobox.com> writes:
Show 15 quoted lines
> [...]
> diff --git a/Documentation/git-update-index.txt b/Documentation/git-update-index.txt
> index f4bb9c5daf..a367f8d65a 100644
> --- a/Documentation/git-update-index.txt
> +++ b/Documentation/git-update-index.txt
> @@ -166,9 +166,11 @@ you will need to handle the situation manually.
>  +
>  Version 4 performs a simple pathname compression that reduces index
>  size by 30%-50% on large repositories, which results in faster load
> -time. Version 4 is relatively young (first released in 1.8.0 in
> -October 2012). Other Git implementations such as JGit and libgit2
> -may not support it yet.
> +time.  Git supports it since version 1.8.0, released in October 2012,
> +and support for it was added to libgit2 in 2016 and to JGit in 2020.
> +Older editions of this manual page called it "relatively young", but
Nit: s/editions/versions because typically "edition" means a version of
physically published text (such as books). Also I don't think we use the
word "edition" anywhere else in our codebase.
Previous: Junio C HamanoNext: Junio C Hamano
Message 3 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.