From: Avery Pennarun Date: Thu, 27 May 2010 22:01:39 GMT Subject: Re: git fast-export/fast-import *facepalm* Message-ID: In-Reply-To: On Thu, May 27, 2010 at 5:57 PM, Chris Packham wrote: > Well it _looks_ detached in gitk I can't see any merge commits. I've > tried git gc but no joy. Maybe I need to tell it to be a bit more > thorough. Why is it showing up in gitk at all? Does it have its own branch name? gitk will normally only show commits that are attached to something, unless you list a particular commit id explicitly on its command line. Once the commits are "detached" correctly, saving the disk space is kind of unnecessary. (Most likely the old commits are being held in the reflog at least, which usually expires in 30 days or so for safety.) Moreover, most of the space is probabably space occupied by the actual files in the revisions, which will be needed when you port the patches "correctly" anyhow, so there's no point in going through extra effort to recover the space just so you can use it again. Have fun, Avery