From: Junio C Hamano Date: Fri, 17 Aug 2007 21:11:55 GMT Subject: Re: Rewriting history with git-filter-branch and leaking objects (?) Message-ID: <7vzm0pg92c.fsf@gitster.siamese.dyndns.org> In-Reply-To: <86k5ruxdxz.fsf@lola.quinscape.zz> David Kastrup writes: > Mike Hommey writes: > >> I've been playing with git-filter-branch, and was wondering how objects >> from the original branch are supposed to be removed. >> >> It looks like removing the refs/original/* refs is not enough. >> >> And it also looks like when all references seem to be removed, git-prune >> doesn't fully do its job... > > It is quite quite hard to get rid of objects. You need to get the > reflogs for the commits and the files expired. An easier way is probably to make a new clone in the neighbouring directory locally.