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

Re: [PATCH] doc: update advice about other implementations' v4 index support

From
Junio C Hamano <gitster@pobox.com>
Date
Apr 9, 2021, 22:45 UTC
Message-ID
<xmqq1rbjm617.fsf@gitster.g>
In-Reply-To
<20210409202206.29990-1-scottworley@scottworley.com>
scottworley@scottworley.com writes:
Show 22 quoted lines
> From: Scott Worley <scottworley@scottworley.com>
>
> Signed-off-by: Scott Worley <scottworley@scottworley.com>
> ---
>  Documentation/git-update-index.txt | 7 ++++---
>  1 file changed, 4 insertions(+), 3 deletions(-)
>
> diff --git a/Documentation/git-update-index.txt b/Documentation/git-update-index.txt
> index 2853f168d9..e8eca5dadf 100644
> --- a/Documentation/git-update-index.txt
> +++ b/Documentation/git-update-index.txt
> @@ -166,9 +166,10 @@ 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. Version 4 is relatively young (first released in git 1.8.0 in
> +October 2012, supported in libgit2 0.24.4 from December 2016, go-git
> +4.0.0 from January 2018, and jgit 5.9.0 from September 2020). Other
> +Git implementations such as Dulwich may not support it yet.

Thanks for these dates. Time flies---I didn't realize it has been almost 9 years---the feature was merged in May 2012, in v1.7.11 (yes, I am hinting that the original lists a wrong date and we should correct it while at it).

I wonder if we should lose "relatively young" from the description here, though.

Previous: scottworley@scottworley.comNext: Derrick Stolee
Message 2 of 3 in “doc: update advice about other implementations' v4 index support”
  1. doc: update advice about other implementations' v4 index supportscottworley@scottworley.com, Apr 9, 2021
  2. Junio C HamanoApr 9, 2021
  3. Derrick StoleeApr 10, 2021

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.