Subject: Re: [PATCH] Convert emailing part of hooks--update to hooks--post-receive

From: Junio C Hamano <[email-masked]>
Date: Sun, 25 Mar 2007 00:13:45 -0700

Linus Torvalds <[email-masked]> 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.