Re: dangling blob which is not dangling at all
- From
- Domenico Andreoli <cavokz@gmail.com>
- Date
- Aug 1, 2007, 06:32 UTC
- Message-ID
- <20070801063209.GA13511@raptus.dandreoli.com>
- In-Reply-To
- <alpine.LFD.0.999.0707311914570.4161@woody.linux-foundation.org>
On Tue, Jul 31, 2007 at 07:22:14PM -0700, Linus Torvalds wrote:
Show 12 quoted lines
> > > On Wed, 1 Aug 2007, Domenico Andreoli wrote: > > > > $ git fsck --no-reflogs > > dangling blob e5d444e61b834c34710ce8fb5cb176e20e5894e1 > > > > $ git-ls-tree 70b58535361eb633d44d4f1275af3421ca6a5ed7 > > ... > > 100644 blob e5d444e61b834c34710ce8fb5cb176e20e5894e1 link_stream.c > > Have you done clones with stupid protocols (rsync and/or http)?
I do not remember having used any dump transport on this repository but I recall having tried git-repack with the intent of git gc.
> So try "git fsck --full", and see if that changes the picture.
This did not change anything.
> The easiest fixup is likely to just do "git gc", which which do a nice > repack, and get rid of loose objects that are duplicates of stuff > that is also in a pack-file.
This fixed things and also warned about two heads referring to pruned commits, which may be those two commits I removed by hand (I hope).
Cheers, Domenico
-----[ Domenico Andreoli, aka cavok --[ http://www.dandreoli.com/gpgkey.asc ---[ 3A0F 2F80 F79C 678A 8936 4FEE 0677 9033 A20E BC50