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

Re: Make "git gc" pack all refs by default

From
Junio C Hamano <junkio@cox.net>
Date
May 25, 2007, 02:04 UTC
Message-ID
<7vy7jdu08k.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<alpine.LFD.0.98.0705241132400.26602@woody.linux-foundation.org>
Linus Torvalds <torvalds@linux-foundation.org> writes:
Show 11 quoted lines
> Also, make the default for refs packing just be an unambiguous "do it", 
> rather than "do it by default only for non-bare repositories". If you want 
> that behaviour, you can always just add a
>
> 	[gc]
> 		packrefs = notbare
>
> in your ~/.gitconfig file, but I don't actually see why bare would be any 
> different (except for the broken reason that http-fetching used to be 
> totally broken, and not doing it just meant that it didn't even get 
> fixed in a timely manner!).
Boy, you are a lot more aggressive than me.

But the fix was in v1.5.0 and we had two feature releases since then, so it's a good time to do this. Thanks.

Previous: Johannes SchindelinNext: Linus Torvalds
Message 3 of 4 in “Make "git gc" pack all refs by default”
  1. Linus TorvaldsMay 24, 2007
  2. Johannes SchindelinMay 24, 2007
  3. Junio C HamanoMay 25, 2007
  4. Linus TorvaldsMay 25, 2007

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.