From: Linus Torvalds Date: Fri, 17 Jun 2005 23:31:45 GMT Subject: Re: git merging Message-ID: In-Reply-To: <42B357D7.6030302@pobox.com> On Fri, 17 Jun 2005, Jeff Garzik wrote: > > I've been too lazy to report this, but... > > last time I tried it, git-prune-script ate valid objects, for my > multi-branch trees. This was 100% reproducible. Ok. The most likely reason is that your main branch is not a symlink to ".git/refs/***" at all, but just a regular ".git/HEAD" file. "git prune" will by default _only_ look for references in .git/refs/, and if you have any references anywhere else, you need to do all your refs by hand. There might be a bug in the ref-lookup code, of course, but it's more likely that your refs just aren't where fsck expects them. Linus