Re: [PATCH] Convert emailing part of hooks--update to hooks--post-receive
- From
Junio C Hamano <junkio@cox.net>
- Date
- Mar 25, 2007, 07:13 UTC
- Message-ID
- <7vaby1aj86.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <Pine.LNX.4.64.0703240858370.6730@woody.linux-foundation.org>
Linus Torvalds <torvalds@linux-foundation.org> writes:
Show 12 quoted lines
> 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.