Thread (3 messages) flat view 3 messages, 2 authors, 2016-06-15

Re: dangling blob which is not dangling at all

From: Domenico Andreoli <hidden>
Date: 2016-06-15 22:43:25

On Tue, Jul 31, 2007 at 07:22:14PM -0700, Linus Torvalds wrote:

On Wed, 1 Aug 2007, Domenico Andreoli wrote:
quoted
$ 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help