login
Header Space

 
 

Re: dangling blob which is not dangling at all

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Domenico Andreoli <cavokz@...>
Cc: <git@...>
Date: Tuesday, July 31, 2007 - 10:22 pm

On Wed, 1 Aug 2007, Domenico Andreoli wrote:

Have you done clones with stupid protocols (rsync and/or http)?

The simplest explanation for this is that since you didn't do "--full" for 
fsck, then your git-fsck never looked into the pack-files you had. And the 
tree might well exist in a pack-file, and thus not even looked at by fsck.

So try "git fsck --full", and see if that changes the picture.

(Usually, you'd never have a pack-file *and* the loose object it points to 
both at the same time, but especially if you use the dumb transports 
(rsync and/or http), you'll get pack-files from remotes, and thus you 
won't have the normal nice behaviour of pack-files being "old state", and 
loose objects being "new state".

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.

		Linus
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
dangling blob which is not dangling at all, Domenico Andreoli, (Tue Jul 31, 9:34 pm)
Re: dangling blob which is not dangling at all, Linus Torvalds, (Tue Jul 31, 10:22 pm)
Re: dangling blob which is not dangling at all, Domenico Andreoli, (Wed Aug 1, 2:32 am)
Re: dangling blob which is not dangling at all, Junio C Hamano, (Wed Aug 1, 3:27 am)
Re: dangling blob which is not dangling at all, Domenico Andreoli, (Wed Aug 1, 3:42 am)
Re: dangling blob which is not dangling at all, Steven Grimm, (Wed Aug 1, 4:35 am)
Re: dangling blob which is not dangling at all, Rogan Dawes, (Wed Aug 1, 5:13 am)
Re: dangling blob which is not dangling at all, Domenico Andreoli, (Wed Aug 1, 10:21 am)
speck-geostationary