From d478056c7dcc2aab690edf0036238e761c789007 Mon Sep 17 00:00:00 2001 From: Pat Thoyts Date: Tue, 27 Aug 2013 11:11:15 +0100 Subject: [PATCH] git-gui: show the maxrecentrepo config option in the preferences dialog Signed-off-by: Pat Thoyts --- git-gui.sh | 1 + lib/option.tcl | 1 + 2 files changed, 2 insertions(+) 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"}} -- 2.11.4.GIT