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

Re: BUG! missing .idx causes .pack to be removed

From
René Scharfe <rene.scharfe@lsrfire.ath.cx>
Date
Aug 6, 2010, 07:14 UTC
Message-ID
<4C5BB64A.4070601@lsrfire.ath.cx>
In-Reply-To
<AANLkTi=bjM7rGSXv0eB5+6VEX=wY84upkzDcBJ6C9KdK@mail.gmail.com>
Am 06.08.2010 05:24, schrieb Tay Ray Chuan:
Show 11 quoted lines
> Hi,
> 
> On Fri, Aug 6, 2010 at 1:01 AM, Enrico Weigelt <weigelt@metux.de> wrote:
>> while doing some experiments I've removed the *.idx files and
>> ran git-repack - that complained about missing objects and removed
>> all *.pack files !
>>
>> I'm sure that's a bug - an ugly one ;-o
> 
> IIRC, a .pack file is useless without its corresponding .idx file. So
> the removal of a .pack file makes sense here - to me, at least.

git-index-pack can rebuild the index for a pack file. Not sure if it should be done automagically, but the file is not completely useless.

René
Previous: Tay Ray ChuanNext: Enrico Weigelt
Message 3 of 4 in “BUG! missing .idx causes .pack to be removed”
  1. Enrico WeigeltAug 5, 2010
  2. Tay Ray ChuanAug 6, 2010
  3. René ScharfeAug 6, 2010
  4. Enrico WeigeltAug 13, 2010

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.