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

Re: [PATCH v2 2/2] reftable/block: fix binary search over restart counter

From
Junio C Hamano <gitster@pobox.com>
Date
Mar 11, 2024, 17:33 UTC
Message-ID
<xmqqmsr4smfx.fsf@gitster.g>
In-Reply-To
<Ze6UDkipgNsDVCwf@tanuki>
Patrick Steinhardt <ps@pks.im> writes:
Show 5 quoted lines
> But we do know to bubble the error up via the pasesd-in args by setting
> `args->error = -1`. Funny thing though: I just now noticed that we check
> for `args.error` _before_ we call `binsearch()`. Oops.
>
> I will send a follow-up patch that addresses these issues.
Thanks, that is doubly amusing ;-)
Previous: Patrick Steinhardt
Message 9 of 9 in “reftable/block: fix binary search over restart counter”
  1. reftable/block: fix binary search over restart counterPatrick Steinhardt, Mar 7, 2024
  2. Patrick SteinhardtMar 7, 2024
  3. 0/2 reftable/block: fix binary search over restart counterPatrick Steinhardt, Mar 7, 2024
  4. 1/2 reftable/record: fix memory leak when decoding object recordsPatrick Steinhardt, Mar 7, 2024
  5. 2/2 reftable/block: fix binary search over restart counterPatrick Steinhardt, Mar 7, 2024
  6. Junio C HamanoMar 7, 2024
  7. Junio C HamanoMar 8, 2024
  8. Patrick SteinhardtMar 11, 2024
  9. Junio C HamanoMar 11, 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.