{"thread":{"id":"58178","subject":"[PATCH] index-format.txt: remove outdated list of supported extensions","startedAt":"2022-07-18T08:56:52Z","lastAt":"2022-07-18T16:25:10Z","messageCount":3,"participants":["SZEDER Gábor","Ævar Arnfjörð Bjarmason","Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"459243","messageId":"20220718085640.7395-1-szeder.dev@gmail.com","threadId":"58178","inReplyTo":null,"subject":"[PATCH] index-format.txt: remove outdated list of supported extensions","fromName":"SZEDER Gábor","fromEmail":"szeder.dev@gmail.com","sentAt":"2022-07-18T08:56:40Z","receivedAt":"2022-07-18T08:56:52Z","isPatch":true,"sender":{"key":"szeder.dev@gmail.com","avatar":"https://avatars.githubusercontent.com/u/116324?v=4"},"body":"The first section of 'Documentation/technical/index-format.txt'\nmentions that \"Git currently supports cache tree and resolve undo\nextensions\", but then goes on, and in the \"Extensions\" section\ndescribes not only these two, but six other extensions [1].\n\nRemove this sentence, as it's misleading about the status of all those\nother extensions.\n\nAlternatively we could keep that sentence and update the list of\nextensions, but that might well lead to a recurring issue, because\napparently this list is never updated when a new index extension is\nadded.\n\n[1] Split index, untracked cache, FS monitor cache, end of index\n    entry, index entry offset table and sparse directory entries.\n\nSigned-off-by: SZEDER Gábor <szeder.dev@gmail.com>\n---\n Documentation/technical/index-format.txt | 2 --\n 1 file changed, 2 deletions(-)\n\ndiff --git a/Documentation/technical/index-format.txt b/Documentation/technical/index-format.txt\nindex 65da0daaa5..f691c20ab0 100644\n--- a/Documentation/technical/index-format.txt\n+++ b/Documentation/technical/index-format.txt\n@@ -26,8 +26,6 @@ Git index format\n      Extensions are identified by signature. Optional extensions can\n      be ignored if Git does not understand them.\n \n-     Git currently supports cache tree and resolve undo extensions.\n-\n      4-byte extension signature. If the first byte is 'A'..'Z' the\n      extension is optional and can be ignored.\n \n-- \n2.37.1.527.g8ff01757f9\n\n"},{"id":"459269","messageId":"220718.86cze2y22q.gmgdl@evledraar.gmail.com","threadId":"58178","inReplyTo":"20220718085640.7395-1-szeder.dev@gmail.com","subject":"Re: [PATCH] index-format.txt: remove outdated list of supported extensions","fromName":"Ævar Arnfjörð Bjarmason","fromEmail":"avarab@gmail.com","sentAt":"2022-07-18T13:35:24Z","receivedAt":"2022-07-18T13:37:07Z","isPatch":true,"sender":{"key":"avarab@gmail.com","avatar":"https://avatars.githubusercontent.com/u/45301?v=4"},"body":"\nOn Mon, Jul 18 2022, SZEDER Gábor wrote:\n\n> The first section of 'Documentation/technical/index-format.txt'\n> mentions that \"Git currently supports cache tree and resolve undo\n> extensions\", but then goes on, and in the \"Extensions\" section\n> describes not only these two, but six other extensions [1].\n>\n> Remove this sentence, as it's misleading about the status of all those\n> other extensions.\n>\n> Alternatively we could keep that sentence and update the list of\n> extensions, but that might well lead to a recurring issue, because\n> apparently this list is never updated when a new index extension is\n> added.\n>\n> [1] Split index, untracked cache, FS monitor cache, end of index\n>     entry, index entry offset table and sparse directory entries.\n>\n> Signed-off-by: SZEDER Gábor <szeder.dev@gmail.com>\n> ---\n>  Documentation/technical/index-format.txt | 2 --\n>  1 file changed, 2 deletions(-)\n\nNote that there's a conflict with my series to move this to\ngitformat-index(5), although the conflict is easily solved:\nhttps://lore.kernel.org/git/patch-v4-6.8-858ce9c6999-20220718T132911Z-avarab@gmail.com/\n\n> diff --git a/Documentation/technical/index-format.txt b/Documentation/technical/index-format.txt\n> index 65da0daaa5..f691c20ab0 100644\n> --- a/Documentation/technical/index-format.txt\n> +++ b/Documentation/technical/index-format.txt\n> @@ -26,8 +26,6 @@ Git index format\n>       Extensions are identified by signature. Optional extensions can\n>       be ignored if Git does not understand them.\n>  \n> -     Git currently supports cache tree and resolve undo extensions.\n> -\n>       4-byte extension signature. If the first byte is 'A'..'Z' the\n>       extension is optional and can be ignored.\n\nI wonder if we should instead say : git currently supports various index\nextensions, see <asciidoc syntax to link to section below>.\n"},{"id":"459286","messageId":"xmqqmtd6s81z.fsf@gitster.g","threadId":"58178","inReplyTo":"20220718085640.7395-1-szeder.dev@gmail.com","subject":"Re: [PATCH] index-format.txt: remove outdated list of supported extensions","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2022-07-18T16:24:24Z","receivedAt":"2022-07-18T16:25:10Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"SZEDER Gábor <szeder.dev@gmail.com> writes:\n\n> The first section of 'Documentation/technical/index-format.txt'\n> mentions that \"Git currently supports cache tree and resolve undo\n> extensions\", but then goes on, and in the \"Extensions\" section\n> describes not only these two, but six other extensions [1].\n>\n> Remove this sentence, as it's misleading about the status of all those\n> other extensions.\n>\n> Alternatively we could keep that sentence and update the list of\n> extensions, but that might well lead to a recurring issue, because\n> apparently this list is never updated when a new index extension is\n> added.\n\nYup, I tend to agree that the sentence does not add much being here\nand insisting that the list must be kept up to date creates more\nwork of dubious value.  If we didn't support any extensions, we\nwouldn't be talking about them in this section, so saying that we\nsupport some and we will list them later does not add much value,\neither.\n\n> [1] Split index, untracked cache, FS monitor cache, end of index\n>     entry, index entry offset table and sparse directory entries.\n>\n> Signed-off-by: SZEDER Gábor <szeder.dev@gmail.com>\n> ---\n>  Documentation/technical/index-format.txt | 2 --\n>  1 file changed, 2 deletions(-)\n\nThanks, will queue.\n"}]}