]> git.ipfire.org Git - thirdparty/git.git/commitdiff
config: document 'gui.GCWarning'
authorMatthew Hughes <matthewhughes934@gmail.com>
Mon, 8 Dec 2025 19:04:35 +0000 (19:04 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 8 Dec 2025 22:38:56 +0000 (07:38 +0900)
While investigating the config options set by 'scalar' I noticed this
one wasn't documented.

Signed-off-by: Matthew Hughes <matthewhughes934@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/config/gui.adoc

index 171be774d243fd2822fa51875feab38618d82193..1565c0af197b9c9b755508cc7a8b271dd81509bd 100644 (file)
@@ -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".