diff options
author | Pat Thoyts <patthoyts@users.sourceforge.net> | 2013-08-27 11:11:15 +0100 |
---|---|---|
committer | Pat Thoyts <patthoyts@users.sourceforge.net> | 2013-08-27 20:06:42 +0100 |
commit | d478056c7dcc2aab690edf0036238e761c789007 (patch) | |
tree | 4a5104d06b149d7124a0ddcb82cf2a5d2ed6b355 | |
parent | a86560453ba8a81527d5d119ea8985a3269af1fa (diff) | |
download | git-d478056c7dcc2aab690edf0036238e761c789007.tar.gz |
git-gui: show the maxrecentrepo config option in the preferences dialog
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
-rwxr-xr-x | git-gui.sh | 1 | ||||
-rw-r--r-- | lib/option.tcl | 1 |
2 files changed, 2 insertions, 0 deletions
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"}} |