threads / patch / 64598

patchconfig: document 'gui.GCWarning'

Subject: [PATCH] config: document 'gui.GCWarning'

## tl;dr

3 messages between Dec 8, 2025 and Dec 16, 2025. Diffs are folded; open one to read it.

replies: 2people: 2as markdown or json

Matthew Hughes· Dec 8, 2025, 19:04 UTC · lore

While investigating the config options set by 'scalar' I noticed this one wasn't documented.

Signed-off-by: Matthew Hughes <matthewhughes934@gmail.com>
---
 Documentation/config/gui.adoc | 5 +++++
 1 file changed, 5 insertions(+)
Show changes to Documentation/config/gui.adoc +5 −0
diff --git a/Documentation/config/gui.adoc b/Documentation/config/gui.adoc
index 171be774d2..1565c0af19 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.52.0
Kristoffer Haugsbakk· Dec 8, 2025, 19:20 UTC · re: Matthew Hughes · lore

Re: [PATCH] config: document 'gui.GCWarning'

On Mon, Dec 8, 2025, at 20:04, Matthew Hughes wrote:
Show 6 quoted lines
> While investigating the config options set by 'scalar' I noticed this
> one wasn't documented.
>
> Signed-off-by: Matthew Hughes <matthewhughes934@gmail.com>
> ---
>[snip]
Apparently this is a continuation from here https://lore.kernel.org/git/jcqsqytuxpqwn3yhpz7fxucbuuf635q3jfgkjzauxwhrkhl7gg@g42r5kwwoknd/
Matthew Hughes· Dec 16, 2025, 20:15 UTC · re: Kristoffer Haugsbakk · lore

Re: [PATCH] config: document 'gui.GCWarning'

On Mon, Dec 08, 2025 at 08:20:07PM +0100, Kristoffer Haugsbakk wrote:
> Apparently this is a continuation from here https://lore.kernel.org/git/jcqsqytuxpqwn3yhpz7fxucbuuf635q3jfgkjzauxwhrkhl7gg@g42r5kwwoknd/

Indeed, thanks for linking that. Full context for the sake of anyone else: the patchset linked above is replaced by: https://lore.kernel.org/git/pull.2010.git.1764195516.gitgitgadget@gmail.com/, except for this patch which is stand-alone.

← back to recent threads