Re: [PATCH] gitweb: prepare for repositories with packed refs.
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- Oct 7, 2006, 11:31 UTC
- Message-ID
- <eg8349$2uq$2@sea.gmane.org>
- In-Reply-To
- <7v1wpks9qf.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano wrote:
Show 10 quoted lines
> Petr Baudis <pasky@suse.cz> writes: > >> Having HEAD a dangling >> symlink is just wrong... > > While I still disagree with this statement, as a practical > issue, I think it might make sense to have an option to > pack-refs to pack only tags, which are supposed to be mostly > immutable. Or even introduce --all option and make the default > pack only tags.
+1. I was actually to asck if there is a way to pack only tags, or perhaps even only true tags (i.e. using tag objects).
It's usually the number of tags that limits performance by being I/O bound (for example for gitweb), and tags change rather rarely so modyfying/adding/deleting packed ref need not to be over-optimized for speed.
-- Jakub Narebski Warsaw, Poland ShadeHawk on #git