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

[PATCH v2 0/2] pack-objects: enable multi-pack reuse via feature.experimental

From
Taylor Blau <me@ttaylorr.com>
Date
Feb 5, 2024, 22:50 UTC
Message-ID
<cover.1707173415.git.me@ttaylorr.com>
In-Reply-To
<cover.1705431816.git.me@ttaylorr.com>

Here is a small reroll of my series to teache pack-objects to perform multi-pack reuse by way of the feature.experimental configuration.

Similar to last time, the hope is that this will expose this new feature to more users who might not otherwise be aware of lesser-known configuration options for pack-objects's internals.

The only changes since last time are as follows:
  - Rebased forward onto 2a540e432f (The thirteenth batch, 2024-02-02).
  - Re-introduced a missing `--delta-base-offset` argument into the new
    helper function added and used by t5332.
Thanks in advance for your review!
Taylor Blau (2):
  t5332-multi-pack-reuse.sh: extract pack-objects helper functions
  pack-objects: enable multi-pack reuse via `feature.experimental`
 Documentation/config/feature.txt |  3 ++
 builtin/pack-objects.c           |  2 +
 repo-settings.c                  |  1 +
 repository.h                     |  1 +
 t/t5332-multi-pack-reuse.sh      | 85 +++++++++++++++++---------------
 5 files changed, 51 insertions(+), 41 deletions(-)
Range-diff against v1:
1:  94dd41e1af ! 1:  db3d67bfa3 t5332-multi-pack-reuse.sh: extract pack-objects helper functions
    @@ t/t5332-multi-pack-reuse.sh: pack_position () {
     +test_pack_objects_reused_all () {
     +	: >trace2.txt &&
     +	GIT_TRACE2_EVENT="$PWD/trace2.txt" \
    -+		git pack-objects --stdout --revs --all >/dev/null &&
    ++		git pack-objects --stdout --revs --all --delta-base-offset \
    ++		>/dev/null &&
     +
     +	test_pack_reused "$1" <trace2.txt &&
     +	test_packs_reused "$2" <trace2.txt
2:  a2d0af562a = 2:  683ffd154e pack-objects: enable multi-pack reuse via `feature.experimental`
base-commit: 2a540e432fe5dff3cfa9d3bf7ca56db2ad12ebb9
-- 
2.43.0.524.g683ffd154e
Previous: Taylor BlauNext: Taylor Blau
Message 8 of 11 in “pack-objects: enable multi-pack reuse via feature.experimental”
  1. 0/2 pack-objects: enable multi-pack reuse via feature.experimentalTaylor Blau, Jan 16, 2024
  2. 1/2 t5332-multi-pack-reuse.sh: extract pack-objects helper functionsTaylor Blau, Jan 16, 2024
  3. Patrick SteinhardtJan 17, 2024
  4. Taylor BlauFeb 5, 2024
  5. 2/2 pack-objects: enable multi-pack reuse via `feature.experimental`Taylor Blau, Jan 16, 2024
  6. Patrick SteinhardtJan 17, 2024
  7. Taylor BlauFeb 5, 2024
  8. 0/2 pack-objects: enable multi-pack reuse via feature.experimentalTaylor Blau, Feb 5, 2024
  9. 1/2 t5332-multi-pack-reuse.sh: extract pack-objects helper functionsTaylor Blau, Feb 5, 2024
  10. Patrick SteinhardtFeb 6, 2024
  11. 2/2 pack-objects: enable multi-pack reuse via `feature.experimental`Taylor Blau, Feb 5, 2024

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.