Skip to content

Commit d478056

Browse files
committed
git-gui: show the maxrecentrepo config option in the preferences dialog
Signed-off-by: Pat Thoyts <[email protected]>
1 parent a865604 commit d478056

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

git-gui.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -894,6 +894,7 @@ set default_config(gui.textconv) true
894894
set default_config(gui.pruneduringfetch) false
895895
set default_config(gui.trustmtime) false
896896
set default_config(gui.fastcopyblame) false
897+
set default_config(gui.maxrecentrepo) 10
897898
set default_config(gui.copyblamethreshold) 40
898899
set default_config(gui.blamehistoryctx) 7
899900
set default_config(gui.diffcontext) 5

lib/option.tcl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ proc do_options {} {
150150
{b gui.matchtrackingbranch {mc "Match Tracking Branches"}}
151151
{b gui.textconv {mc "Use Textconv For Diffs and Blames"}}
152152
{b gui.fastcopyblame {mc "Blame Copy Only On Changed Files"}}
153+
{i-0..100 gui.maxrecentrepo {mc "Maximum Length of Recent Repositories List"}}
153154
{i-20..200 gui.copyblamethreshold {mc "Minimum Letters To Blame Copy On"}}
154155
{i-0..300 gui.blamehistoryctx {mc "Blame History Context Radius (days)"}}
155156
{i-1..99 gui.diffcontext {mc "Number of Diff Context Lines"}}

0 commit comments

Comments
 (0)