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

Re: [PATCH 1/2] remerge-diff: lazily prpare temporary objdir on demand

From
Eric Sunshine <sunshine@sunshineco.com>
Date
Aug 9, 2024, 22:37 UTC
Message-ID
<CAPig+cRYOe7dQg7qwHmHZW9WfVGJ68wWSQHikz-v+_ZhhTkG3Q@mail.gmail.com>
In-Reply-To
<xmqqv8099vms.fsf@gitster.g>
On Fri, Aug 9, 2024 at 6:31 PM Junio C Hamano <gitster@pobox.com> wrote:
> remerge-diff: lazily prpare temporary objdir on demand
s/prpare/prepare/
Show 12 quoted lines
> It is error prone for each caller that sets revs.remerge_diff bit
> to be responsible for preparing a temporary object directory and
> rotate it into the list of alternate object stores, making it the
> primary object store.
>
> Instead, remove the code to set up and arrange the temporary object
> directory from the current callers and implement it in the code that
> runs remerge-diff logic.  The code to undo the futzing of the list
> of alternate object store is still spread across the callers, but we
> will deal with it in future steps.
>
> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Previous: Junio C Hamano
Message 6 of 6 in “remerge-diff: lazily prpare temporary objdir on demand”
  1. 1/2 remerge-diff: lazily prpare temporary objdir on demandJunio C Hamano, Aug 9, 2024
  2. 2/2 remerge-diff: clean up temporary objdir at a central placeJunio C Hamano, Aug 9, 2024
  3. Junio C HamanoAug 12, 2024
  4. Elijah NewrenAug 16, 2024
  5. Junio C HamanoSep 8, 2024
  6. Eric SunshineAug 9, 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.