Re: [PATCH] Do not run git-pack-refs by default for now from git-gc
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Feb 13, 2007, 10:03 UTC
- Message-ID
- <Pine.LNX.4.63.0702131101400.1300@wbgn013.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <7vzm7iz8uv.fsf@assigned-by-dhcp.cox.net>
Hi,
On Tue, 13 Feb 2007, Junio C Hamano wrote:
> Just to be on the safe side, let's not run pack-refs from git-gc > without an explicit "[gc] packrefs = true" configuration.
It seems to me that the reason are dumb transports, which are very likely to run only from bare repositories. How about checking for a bare repository explicitely, and only if it _is_ bare, check for gc.packrefs, too?
Packed refs _do_ have a tremendous advantage (when you have a lot of tags, like many CVS switchers).
Ciao, Dscho