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

Re: man git-config inconsistency (*.fsckObjects)

From
Jeff King <peff@peff.net>
Date
Feb 8, 2016, 15:08 UTC
Message-ID
<20160208150856.GB13664@sigill.intra.peff.net>
In-Reply-To
<56B8A928.4000802@cl.cam.ac.uk>
On Mon, Feb 08, 2016 at 02:41:44PM +0000, Markus Kuhn wrote:
Show 18 quoted lines
> https://www.kernel.org/pub/software/scm/git/docs/git-config.html
> 
> The git-config(1) man page entries for "fetch.fsckObjects" and
> "receive.fsckObjects" both end with the lines
> 
>            Defaults to false. If not set, the value of transfer.fsckObjects is
>            used instead.
> 
> These two sentences contradict each other: if the variable is not set,
> the first sentence says it is interpreted as false, the second sentence
> says the value of transfer.fsckObjects is used instead.
> 
> Both sentences can't be true at the same time when transfer.fsckObjects = true.
> 
> Suggested rephrasing:
> 
>            If not set, the value of transfer.fsckObjects is used
>            instead, which defaults to false.
Yeah, I agree your phrasing is much clearer.
Show 9 quoted lines
> From f6253cce1a0f9df53b020c5821e9fc9fa27cd23f Mon Sep 17 00:00:00 2001
> From: Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>
> Date: Mon, 8 Feb 2016 14:36:22 +0000
> Subject: [PATCH] avoid self-contradiction on fsckObjects default
> 
> ---
>  Documentation/config.txt | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
I think the text in your email would make a good commit message. :)
-Peff
Previous: Markus KuhnNext: Eric Sunshine
Message 2 of 4 in “man git-config inconsistency (*.fsckObjects)”
  1. Markus KuhnFeb 8, 2016
  2. Jeff KingFeb 8, 2016
  3. Eric SunshineFeb 8, 2016
  4. Jeff KingFeb 8, 2016

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.