From: Jeff King Date: Thu, 08 May 2008 22:48:27 GMT Subject: Re: git gc & deleted branches Message-ID: <20080508224827.GA2938@sigill.intra.peff.net> In-Reply-To: <48237650.5060008@nrlssc.navy.mil> On Thu, May 08, 2008 at 04:53:20PM -0500, Brandon Casey wrote: > > Yes. You would have to use the pack mtime. But of course you would have > > to actually _leave_ them in a pack, or they would just keep getting > > added to the new pack. > > I had the impression that unreachable objects would not be packed. Maybe it > was more of an assumption. Look in builtin-pack-objects.c:1981-1982. We basically just say "if it's in a pack now, then it should go into the new pack." -Peff