From: Dale R. Worley Date: Tue, 16 Sep 2014 18:09:13 GMT Subject: Re: Apparent bug in git-gc Message-ID: <201409161809.s8GI9Dd4002425@hobgoblin.ariadne.com> In-Reply-To: <20140916003046.GE5019@peff.net> > From: Jeff King > > > I have an 11 GB repository. It passes git-fsck (though with a number > > of dangling objects). But when I run git-gc on it, the file > > refs/heads/master disappears. > > That's the expected behavior. Gc runs "git pack-refs", which puts an > entry into packed-refs and prunes the loose ref. Arrrgh, damn! I knew that but I forgot it. Sorry about the trouble. (At least I don't have to worry about fixing it now.) Dale