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

Re: [PATCH] config: correct and clarify core.*compression documentation

From
Brian Downing <bdowning@lavos.net>
Date
Nov 19, 2007, 16:23 UTC
Message-ID
<20071119162307.GI6212@lavos.net>
In-Reply-To
<alpine.LFD.0.99999.0711191049440.19105@xanadu.home>
On Mon, Nov 19, 2007 at 10:51:31AM -0500, Nicolas Pitre wrote:
Show 5 quoted lines
> > * Explain that the default of core.compression is -1, zlib default, and
> >   add a quote from zlib.h explaining what that actually means.
> 
> No, this is wrong.  core.compression has no default.  It is meaningful 
> only when an explicit value is configured.
Would you prefer this?
       If not set, packs will be compressed to the zlib default level,
       which is "a default compromise between speed and compression
       (currently equivalent to level 6)."

I'm trying to make it reassuring as to the fact that, "yes, packs are compressed plenty, you really don't need to mess with this unless you want to." As it stands I could see the potential confusion that no (or poor) compression will occur in packs unless this is set.

-bcd
Previous: Nicolas PitreNext: Nicolas Pitre
Message 3 of 8 in “config: correct and clarify core.*compression documentation”
  1. config: correct and clarify core.*compression documentationBrian Downing, Nov 19, 2007
  2. Nicolas PitreNov 19, 2007
  3. Brian DowningNov 19, 2007
  4. Nicolas PitreNov 19, 2007
  5. Brian DowningNov 19, 2007
  6. 1/2 config: correct core.loosecompression documentationBrian Downing, Nov 19, 2007
  7. 2/2 config: clarify compression defaultsBrian Downing, Nov 19, 2007
  8. Nicolas PitreNov 19, 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.