From: Junio C Hamano Date: Sun, 25 Mar 2007 07:13:45 GMT Subject: Re: [PATCH] Convert emailing part of hooks--update to hooks--post-receive Message-ID: <7vaby1aj86.fsf@assigned-by-dhcp.cox.net> In-Reply-To: Linus Torvalds writes: > On Sat, 24 Mar 2007, Andy Parkins wrote: >> >> Oh dear; I had no idea that packed refs made the ref file itself >> disappear. > > Everybody should do > > git pack-refs --all --prune > > occasionally to see this. In fact, I think we should probably make that > part of "git gc" (which currently doesn't pack branches at all, just tags, > since it omits the "--all"). *Warning* As described in 1.5.0 release notes, packed and then pruned refs are not visible by commit walkers older than 1.5.0. So everybody should refrain from doing the above on a public "distribution point" repository that can be accessed over http until everybody upgrades.