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

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

From
Nicolas Pitre <nico@cam.org>
Date
Nov 19, 2007, 16:43 UTC
Message-ID
<alpine.LFD.0.99999.0711191139240.19105@xanadu.home>
In-Reply-To
<20071119162307.GI6212@lavos.net>
On Mon, 19 Nov 2007, Brian Downing wrote:
Show 12 quoted lines
> On Mon, Nov 19, 2007 at 10:51:31AM -0500, Nicolas Pitre wrote:
> > > * 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)."

This is still rather incorrect. If you want to be thorough, you should say that this setting provides a global default for pack.compression and core.loosecompression when those settings are not set. Otherwise pack.compression and core.loosecompression have a default of their own when neither is set.

Nicolas
Previous: Brian DowningNext: Brian Downing
Message 4 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.