From: Pat Thoyts Date: Tue, 27 Aug 2013 10:11:15 +0000 (+0100) Subject: git-gui: show the maxrecentrepo config option in the preferences dialog X-Git-Tag: v1.9-rc0~80^2~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d478056c7dcc2aab690edf0036238e761c789007;p=thirdparty%2Fgit.git git-gui: show the maxrecentrepo config option in the preferences dialog Signed-off-by: Pat Thoyts --- diff --git a/git-gui.sh b/git-gui.sh index 153f85da06..4a6929ebbf 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 0cf1da1d7e..07dee60f9f 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"}}