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

Re: [PATCH v1] read-cache: add GIT_TEST_INDEX_VERSION support

From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Date
Sep 13, 2018, 18:49 UTC
Message-ID
<87in39kzc3.fsf@evledraar.gmail.com>
In-Reply-To
<20180912212544.33624-1-benpeart@microsoft.com>
On Wed, Sep 12 2018, Ben Peart wrote:
> -GIT_TEST_OE_DELTA_SIZE=<n> exercises the uncomon pack-objects code
> +GIT_TEST_OE_DELTA_SIZE=<n> exercises the uncommon pack-objects code
>  path where deltas larger than this limit require extra memory
>  allocation for bookkeeping.
If re-rolled maybe better as a leading "fix a typo" patch.

I was reading this in a mobile client earlier and couldn't see at a glance (small screen+wrapping) what the change was here, so that sort of nitpicking isn't purely theoretical :)

> +GIT_TEST_INDEX_VERSION=<n> exercises the index read/write code path
> +for the index version specified.  Can be set to any valid version
> +but the non-default version 4 is probably the most beneficial.
> +

I'm not familiar with this and haven't dug, so I don't know this: are any values of 1..4 OK? 0..4? Would be better to say that here...

Previous: Ben PeartNext: Junio C Hamano
Message 9 of 10 in “read-cache: add GIT_TEST_INDEX_VERSION support”
  1. read-cache: add GIT_TEST_INDEX_VERSION supportBen Peart, Sep 12, 2018
  2. Thomas GummererSep 12, 2018
  3. Ben PeartSep 13, 2018
  4. Thomas GummererSep 13, 2018
  5. Junio C HamanoSep 13, 2018
  6. Ben PeartSep 14, 2018
  7. Junio C HamanoSep 14, 2018
  8. read-cache: update TEST_GIT_INDEX_VERSION supportBen Peart, Sep 13, 2018
  9. Ævar Arnfjörð BjarmasonSep 13, 2018
  10. Junio C HamanoSep 13, 2018

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.