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

Re: [PATCH v2 2/2] prune: save reachable-from-recent objects with bitmaps

From
Junio C Hamano <gitster@pobox.com>
Date
Apr 29, 2021, 01:37 UTC
Message-ID
<xmqqh7jpan0y.fsf@gitster.g>
In-Reply-To
<YImCcxVq6AWjtv8k@coredump.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 8 quoted lines
> -for repack in '' true; do
> -	title=${repack:+repack}
> -	title=${title:-loose}
> -
> +for title in loose repack bitmap; do
>  	test_expect_success "make repo completely empty ($title)" '
>  		rm -rf .git &&
>  		git init

Just this part alone is worth the update ;-) It was not even clear what "repack" meant in the old loop, or what the significance of setting it to "true" (as opposed to say "false").

Of course, the early return in the code removed by this patch explains how the bug happened. Will queue; thanks.

Previous: Jeff King
Message 10 of 10 in “Two issues with mark_reachable_objects”
  1. David EmettApr 27, 2021
  2. Jeff KingApr 27, 2021
  3. Jeff KingApr 27, 2021
  4. prune: save reachable-from-recent objects with bitmapsJeff King, Apr 27, 2021
  5. David EmettApr 28, 2021
  6. Jeff KingApr 28, 2021
  7. 0/2 prune: save reachable-from-recent objects with bitmapsJeff King, Apr 28, 2021
  8. 1/2 pack-bitmap: clean up include_check after useJeff King, Apr 28, 2021
  9. 2/2 prune: save reachable-from-recent objects with bitmapsJeff King, Apr 28, 2021
  10. Junio C HamanoApr 29, 2021

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.