git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Junio C Hamano
Message 6 of 6 in “gitweb: prepare for repositories with packed refs.”
  1. gitweb: prepare for repositories with packed refs.Junio C Hamano, Oct 3, 2006
  2. Petr BaudisOct 6, 2006
  3. Junio C HamanoOct 7, 2006
  4. Petr BaudisOct 7, 2006
  5. Junio C HamanoOct 7, 2006
  6. Jakub NarebskiOct 7, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.