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

Re: [PATCH 1/2] t5332-multi-pack-reuse.sh: extract pack-objects helper functions

From
Taylor Blau <me@ttaylorr.com>
Date
Feb 5, 2024, 22:44 UTC
Message-ID
<ZcFk4yvj6TM2WzXn@nand.local>
In-Reply-To
<ZaeCeY-9AIR-zt7u@tanuki>
On Wed, Jan 17, 2024 at 08:32:09AM +0100, Patrick Steinhardt wrote:
Show 15 quoted lines
> > @@ -104,12 +110,7 @@ test_expect_success 'reuse objects from first pack with middle gap' '
> >  	^$(git rev-parse D)
> >  	EOF
> >
> > -	: >trace2.txt &&
> > -	GIT_TRACE2_EVENT="$PWD/trace2.txt" \
> > -		git pack-objects --stdout --delta-base-offset --revs <in >/dev/null &&
> > -
> > -	test_pack_reused 3 <trace2.txt &&
> > -	test_packs_reused 1 <trace2.txt
> > +	test_pack_objects_reused 3 1 <in
>
> This conversion causes us to drop the `--delta-base-offset` flag. It
> would be great to have an explanation in the commit message why it is
> fine to drop it.

Oops, that was unintentional. I'll resend a new round that fixes this issue shortly.

> Other than that this looks like a nice simplification to me.
Thanks for the review!

Thanks, Taylor

Previous: Patrick SteinhardtNext: Taylor Blau
Message 4 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.