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

[PATCH 2/2] config: document `gui.GCWarning`

From
Matthew Hughes <matthewhughes934@gmail.com>
Date
Nov 29, 2025, 17:22 UTC
Message-ID
<20251129172124.4164-3-matthewhughes934@gmail.com>
In-Reply-To
<20251129172124.4164-1-matthewhughes934@gmail.com>
While investigating the config options set by `scalar` I noticed this
one wasn't documented.
---
 Documentation/config/gui.adoc | 5 +++++
 1 file changed, 5 insertions(+)
diff --git a/Documentation/config/gui.adoc b/Documentation/config/gui.adoc
index 171be774d2..3323ff9b7e 100644
--- a/Documentation/config/gui.adoc
+++ b/Documentation/config/gui.adoc
@@ -55,3 +55,8 @@ gui.blamehistoryctx::
 	linkgit:gitk[1] for the selected commit, when the `Show History
 	Context` menu item is invoked from 'git gui blame'. If this
 	variable is set to zero, the whole history is shown.
+
+gui.GCWarning:
+	Determines whether linkgit:git-gui[1] should prompt for garbage
+	collection when git detects a large number of loose objects in
+	the repository. The default value is "true".
-- 
2.51.0
Previous: Matthew HughesNext: Kristoffer Haugsbakk
Message 3 of 4 in “Update documentation/discoverability around `scalar`”
  1. 0/2 Update documentation/discoverability around `scalar`Matthew Hughes, Nov 29, 2025
  2. 1/2 scalar: add comments when setting configMatthew Hughes, Nov 29, 2025
  3. 2/2 config: document `gui.GCWarning`Matthew Hughes, Nov 29, 2025
  4. Kristoffer HaugsbakkNov 29, 2025

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.