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

Re: [RFC PATCH] multi-pack-index: allow operating without pack files

From
MFMartin Fick <mfick@codeaurora.org>
Date
Aug 23, 2021, 01:11 UTC
Message-ID
<3649958.14eQuSAvaI@mfick-lnx>
In-Reply-To
<edb9c412-70c8-4fc6-04ab-417eca05ee15@gmail.com>
On Sunday, August 22, 2021 8:34:43 PM MDT Derrick Stolee wrote:
Show 7 quoted lines
> On 8/20/2021 3:55 PM, Johannes Berg wrote:
> > Technically, multi-pack-index doesn't need pack files to exist,
> > but add_packed_git() today checks whether it exists or not.
> 
> Having a multi-pack-index is supposed to indicate that we have
> these objects in the objects/pack directory within the specified
> pack-files.

Hmm, isn't it a normal supported use case for repacking to potentially delete packfiles which are in the MIDX (I'm specifically thinking about when someone runs git gc with an older git version which knows nothing about MIDX files)?

 -Martin
-- 
The Qualcomm Innovation Center, Inc. is a member of Code 
Aurora Forum, hosted by The Linux Foundation
Previous: Derrick StoleeNext: Johannes Berg
Message 3 of 7 in “multi-pack-index: allow operating without pack files”
  1. multi-pack-index: allow operating without pack filesJohannes Berg, Aug 20, 2021
  2. Derrick StoleeAug 23, 2021
  3. Martin FickAug 23, 2021
  4. Johannes BergAug 23, 2021
  5. Taylor BlauAug 23, 2021
  6. Johannes BergAug 23, 2021
  7. Johannes BergAug 23, 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.