Re: [PATCH 4/4] Teach "git clone" to pack refs
- From
Jeff King <peff@peff.net>
- Date
- Jun 15, 2008, 17:56 UTC
- Message-ID
- <20080615175613.GC6127@sigill.intra.peff.net>
- In-Reply-To
- <200806151606.16380.johan@herland.net>
On Sun, Jun 15, 2008 at 04:06:16PM +0200, Johan Herland wrote:
> + pack_refs(PACK_REFS_ALL);
I haven't looked carefully at the pack_refs code, but my understanding was that this would pack _all_ refs, including branches. Don't we generally try to leave branches unpacked, since they change a lot? IOW, shouldn't this just be "pack_refs(0)"?
-Peff