From: Shawn O. Pearce Date: Thu, 24 Apr 2008 06:08:57 GMT Subject: Re: How to fetch missing pack Message-ID: <20080424060857.GX29771@spearce.org> In-Reply-To: <200804240801.13674.chriscool@tuxfamily.org> Christian Couder wrote: > Le mercredi 23 avril 2008, Jörg Sommer a écrit : > > Peter Baumann wrote: > > > > > > Try using git fsck --full to check you repo. If you are missing some > > > objects, you could just grab them from another valid repo which still > > > has them. > > > > How can I exctract single objects from a pack? > > Please have a look at this: > > http://git.or.cz/gitwiki/GitFaq#head-ac11406480d09e2df98588e800e41b7256602074 If you know the name of the objects you are missing, you can make a temporary pack to transfer the list of objects: # at good repo # git pack-objects --stdout save.pack # at bad repo # git index-pack --stdin