summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPat Thoyts <patthoyts@users.sourceforge.net>2013-08-27 10:11:15 (GMT)
committerPat Thoyts <patthoyts@users.sourceforge.net>2013-08-27 19:06:42 (GMT)
commitd478056c7dcc2aab690edf0036238e761c789007 (patch)
tree4a5104d06b149d7124a0ddcb82cf2a5d2ed6b355
parenta86560453ba8a81527d5d119ea8985a3269af1fa (diff)
downloadgit-d478056c7dcc2aab690edf0036238e761c789007.zip
git-d478056c7dcc2aab690edf0036238e761c789007.tar.gz
git-d478056c7dcc2aab690edf0036238e761c789007.tar.bz2
git-gui: show the maxrecentrepo config option in the preferences dialog
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
-rwxr-xr-xgit-gui.sh1
-rw-r--r--lib/option.tcl1
2 files changed, 2 insertions, 0 deletions
diff --git a/git-gui.sh b/git-gui.sh
index 153f85d..4a6929e 100755
--- a/git-gui.sh
+++ b/git-gui.sh
@@ -894,6 +894,7 @@ set default_config(gui.textconv) true
set default_config(gui.pruneduringfetch) false
set default_config(gui.trustmtime) false
set default_config(gui.fastcopyblame) false
+set default_config(gui.maxrecentrepo) 10
set default_config(gui.copyblamethreshold) 40
set default_config(gui.blamehistoryctx) 7
set default_config(gui.diffcontext) 5
diff --git a/lib/option.tcl b/lib/option.tcl
index 0cf1da1..07dee60 100644
--- a/lib/option.tcl
+++ b/lib/option.tcl
@@ -150,6 +150,7 @@ proc do_options {} {
{b gui.matchtrackingbranch {mc "Match Tracking Branches"}}
{b gui.textconv {mc "Use Textconv For Diffs and Blames"}}
{b gui.fastcopyblame {mc "Blame Copy Only On Changed Files"}}
+ {i-0..100 gui.maxrecentrepo {mc "Maximum Length of Recent Repositories List"}}
{i-20..200 gui.copyblamethreshold {mc "Minimum Letters To Blame Copy On"}}
{i-0..300 gui.blamehistoryctx {mc "Blame History Context Radius (days)"}}
{i-1..99 gui.diffcontext {mc "Number of Diff Context Lines"}}