Re: Git in a Nutshell guide
- From
Brian Downing <bdowning@lavos.net>
- Date
- Nov 19, 2007, 15:02 UTC
- Message-ID
- <20071119150209.GF6212@lavos.net>
- In-Reply-To
- <1195477504.8093.15.camel@localhost>
On Mon, Nov 19, 2007 at 02:05:04PM +0100, Jonas Juselius wrote:
> I have also written a CVS2git transition guide, which outlines one > possible way of converting from CVS to git.
You write:
> In order to save space you can also enable compression > $ git config --global core.compression 1 > $ git config --global core.loosecompression 1
I think this contradicts the git-config manpage:
> core.compression > An integer -1..9, indicating a default compression level. -1 is the > zlib default. 0 means no compression, and 1..9 are various > speed/size tradeoffs, 9 being slowest.
Show 6 quoted lines
> core.loosecompression > An integer -1..9, indicating the compression level for objects that > are not in a pack file. -1 is the zlib default. 0 means no > compression, and 1..9 are various speed/size tradeoffs, 9 being > slowest. If not set, defaults to core.compression. If that is not > set, defaults to 0 (best speed).
The default, -1, is the zlib default, which is probably something like 3-6. Setting these to 1 will probably result in less compression, not more.
-bcd