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

Re: [PATCH] config: fix commit-graph related config docs

From
Johannes Sixt <j6t@kdbg.org>
Date
Aug 22, 2018, 15:33 UTC
Message-ID
<51671d59-8654-d79a-3fd9-9353aa4de1d7@kdbg.org>
In-Reply-To
<20180822131547.56899-1-dstolee@microsoft.com>
Am 22.08.2018 um 15:16 schrieb Derrick Stolee:
Show 12 quoted lines
> diff --git a/Documentation/config.txt b/Documentation/config.txt
> index 1c42364988..f846543414 100644
> --- a/Documentation/config.txt
> +++ b/Documentation/config.txt
> @@ -917,7 +917,11 @@ core.notesRef::
>   This setting defaults to "refs/notes/commits", and it can be overridden by
>   the `GIT_NOTES_REF` environment variable.  See linkgit:git-notes[1].
>   
> -gc.commitGraph::
> +core.commitGraph::
> +	Enable git commit graph feature. Allows reading from the
> +	commit-graph file.

Please do not assume that everybody knows what "the commit-graph file" is and that they know that they want it or do not want it. I do not know. You should mention here when to set this configuration variable to which values and what the default value is.

Show 5 quoted lines
> +
> +gc.writeCommitGraph::
>   	If true, then gc will rewrite the commit-graph file when
>   	linkgit:git-gc[1] is run. When using linkgit:git-gc[1]
>   	'--auto' the commit-graph will be updated if housekeeping is
-- Hannes
Previous: Duy NguyenNext: Derrick Stolee
Message 3 of 5 in “config: fix commit-graph related config docs”
  1. config: fix commit-graph related config docsDerrick Stolee, Aug 22, 2018
  2. Duy NguyenAug 22, 2018
  3. Johannes SixtAug 22, 2018
  4. config: fix commit-graph related config docsDerrick Stolee, Aug 23, 2018
  5. Junio C HamanoAug 23, 2018

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.