[PATCH] git-gui: document the gui.maxfilesdisplayed variable
This removes a TODO item in the git-gui source.
Signed-off-by: Heiko Voigt <hvoigt@hvoigt.net>
---
I am not sure how we should go about this patch. Should I split it in
two since it removes the TODO line in git-gui and adds the
documentation in git?
Cheers Heiko
Documentation/config.txt | 5 +++++
git-gui/git-gui.sh | 1 -
2 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/Documentation/config.txt b/Documentation/config.txt
index 722e00a..d8edeeb 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -1122,6 +1122,11 @@ gui.matchtrackingbranch::
default to tracking remote branches with matching names or
not. Default: "false".
+gui.maxfilesdisplayed::
+ Configures the amount of changed files after which git gui will
+ issue a warning that there are more changes than can be
+ displayed.
+
gui.newbranchtemplate::
Is used as suggested name when creating new branches using the
linkgit:git-gui[1].
diff --git a/git-gui/git-gui.sh b/git-gui/git-gui.sh
index e03eda0..db09f00 100755
--- a/git-gui/git-gui.sh
+++ b/git-gui/git-gui.sh
@@ -838,7 +838,6 @@ set default_config(gui.newbranchtemplate) {}
set default_config(gui.spellingdictionary) {}
set default_config(gui.fontui) [font configure font_ui]
set default_config(gui.fontdiff) [font configure font_diff]
-# TODO: this option should be added to the git-config documentation
set default_config(gui.maxfilesdisplayed) 5000
set default_config(gui.usettk) 1
set default_config(gui.warndetachedcommit) 1
--
1.7.4.rc3.4.g155c4