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é