{"thread":{"id":"55466","subject":"[PATCH] doc: update advice about other implementations' v4 index support","startedAt":"2021-04-09T20:43:34Z","lastAt":"2021-04-10T01:13:02Z","messageCount":3,"participants":["scottworley@scottworley.com","Junio C Hamano","Derrick Stolee"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"421476","messageId":"20210409202206.29990-1-scottworley@scottworley.com","threadId":"55466","inReplyTo":null,"subject":"[PATCH] doc: update advice about other implementations' v4 index support","fromName":"","fromEmail":"scottworley@scottworley.com","sentAt":"2021-04-09T20:22:06Z","receivedAt":"2021-04-09T20:43:34Z","isPatch":true,"sender":{"key":"scottworley@scottworley.com","avatar":null},"body":"From: Scott Worley <scottworley@scottworley.com>\n\nSigned-off-by: Scott Worley <scottworley@scottworley.com>\n---\n Documentation/git-update-index.txt | 7 ++++---\n 1 file changed, 4 insertions(+), 3 deletions(-)\n\ndiff --git a/Documentation/git-update-index.txt b/Documentation/git-update-index.txt\nindex 2853f168d9..e8eca5dadf 100644\n--- a/Documentation/git-update-index.txt\n+++ b/Documentation/git-update-index.txt\n@@ -166,9 +166,10 @@ you will need to handle the situation manually.\n +\n Version 4 performs a simple pathname compression that reduces index\n size by 30%-50% on large repositories, which results in faster load\n-time. Version 4 is relatively young (first released in 1.8.0 in\n-October 2012). Other Git implementations such as JGit and libgit2\n-may not support it yet.\n+time. Version 4 is relatively young (first released in git 1.8.0 in\n+October 2012, supported in libgit2 0.24.4 from December 2016, go-git\n+4.0.0 from January 2018, and jgit 5.9.0 from September 2020). Other\n+Git implementations such as Dulwich may not support it yet.\n \n -z::\n \tOnly meaningful with `--stdin` or `--index-info`; paths are\n-- \n2.29.3\n\n"},{"id":"421493","messageId":"xmqq1rbjm617.fsf@gitster.g","threadId":"55466","inReplyTo":"20210409202206.29990-1-scottworley@scottworley.com","subject":"Re: [PATCH] doc: update advice about other implementations' v4 index support","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2021-04-09T22:45:08Z","receivedAt":"2021-04-09T22:45:11Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"scottworley@scottworley.com writes:\n\n> From: Scott Worley <scottworley@scottworley.com>\n>\n> Signed-off-by: Scott Worley <scottworley@scottworley.com>\n> ---\n>  Documentation/git-update-index.txt | 7 ++++---\n>  1 file changed, 4 insertions(+), 3 deletions(-)\n>\n> diff --git a/Documentation/git-update-index.txt b/Documentation/git-update-index.txt\n> index 2853f168d9..e8eca5dadf 100644\n> --- a/Documentation/git-update-index.txt\n> +++ b/Documentation/git-update-index.txt\n> @@ -166,9 +166,10 @@ you will need to handle the situation manually.\n>  +\n>  Version 4 performs a simple pathname compression that reduces index\n>  size by 30%-50% on large repositories, which results in faster load\n> -time. Version 4 is relatively young (first released in 1.8.0 in\n> -October 2012). Other Git implementations such as JGit and libgit2\n> -may not support it yet.\n> +time. Version 4 is relatively young (first released in git 1.8.0 in\n> +October 2012, supported in libgit2 0.24.4 from December 2016, go-git\n> +4.0.0 from January 2018, and jgit 5.9.0 from September 2020). Other\n> +Git implementations such as Dulwich may not support it yet.\n\nThanks for these dates.  Time flies---I didn't realize it has been\nalmost 9 years---the feature was merged in May 2012, in v1.7.11\n(yes, I am hinting that the original lists a wrong date and we\nshould correct it while at it).\n\nI wonder if we should lose \"relatively young\" from the description\nhere, though.\n\n"},{"id":"421504","messageId":"6be901d0-1b7d-d4ef-388e-e7b2e4edbc7f@gmail.com","threadId":"55466","inReplyTo":"xmqq1rbjm617.fsf@gitster.g","subject":"Re: [PATCH] doc: update advice about other implementations' v4 index support","fromName":"Derrick Stolee","fromEmail":"stolee@gmail.com","sentAt":"2021-04-10T01:12:59Z","receivedAt":"2021-04-10T01:13:02Z","isPatch":true,"sender":{"key":"stolee@gmail.com","avatar":"https://avatars.githubusercontent.com/u/570044?v=4"},"body":"On 4/9/2021 6:45 PM, Junio C Hamano wrote:\n> scottworley@scottworley.com writes:\n> \n>> From: Scott Worley <scottworley@scottworley.com>\n>>\n>> Signed-off-by: Scott Worley <scottworley@scottworley.com>\n>> ---\n>>  Documentation/git-update-index.txt | 7 ++++---\n>>  1 file changed, 4 insertions(+), 3 deletions(-)\n>>\n>> diff --git a/Documentation/git-update-index.txt b/Documentation/git-update-index.txt\n>> index 2853f168d9..e8eca5dadf 100644\n>> --- a/Documentation/git-update-index.txt\n>> +++ b/Documentation/git-update-index.txt\n>> @@ -166,9 +166,10 @@ you will need to handle the situation manually.\n>>  +\n>>  Version 4 performs a simple pathname compression that reduces index\n>>  size by 30%-50% on large repositories, which results in faster load\n>> -time. Version 4 is relatively young (first released in 1.8.0 in\n>> -October 2012). Other Git implementations such as JGit and libgit2\n>> -may not support it yet.\n>> +time. Version 4 is relatively young (first released in git 1.8.0 in\n>> +October 2012, supported in libgit2 0.24.4 from December 2016, go-git\n>> +4.0.0 from January 2018, and jgit 5.9.0 from September 2020). Other\n>> +Git implementations such as Dulwich may not support it yet.\n> \n> Thanks for these dates.  Time flies---I didn't realize it has been\n> almost 9 years---the feature was merged in May 2012, in v1.7.11\n> (yes, I am hinting that the original lists a wrong date and we\n> should correct it while at it).\n> \n> I wonder if we should lose \"relatively young\" from the description\n> here, though.\n \nI was thinking the same thing. It has had extensions added such as\nthe End-of-index extension, but even that is approaching three years\nago.\n\nThanks,\n-Stolee\n"}]}