Re: [PATCH] Do not run git-pack-refs by default for now from git-gc
- From
Jeff King <peff@peff.net>
- Date
- Feb 13, 2007, 10:29 UTC
- Message-ID
- <20070213102951.GA14903@coredump.intra.peff.net>
- In-Reply-To
- <Pine.LNX.4.63.0702131101400.1300@wbgn013.biozentrum.uni-wuerzburg.de>
On Tue, Feb 13, 2007 at 11:03:32AM +0100, Johannes Schindelin wrote:
> 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?
The way you have stated it, I think we will get a lot of "I set gc.packrefs, but it doesn't do anything!" complaints. I think a tri-state "yes/no/notbare" defaulting to "notbare" makes more sense. But maybe you meant the other way around in the first place.
-Peff