Skip to content

Commit f6e51e9

Browse files
committed
gitk: Persist config for ignore space and diff mode
Signed-off-by: Teddy Zhang <[email protected]>
1 parent ac8fec7 commit f6e51e9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

gitk

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2668,7 +2668,6 @@ proc makewindow {} {
26682668
-command changeignorespace -variable ignorespace
26692669
pack .bleft.mid.ignspace -side left -padx 5
26702670
2671-
set worddiff [mc "Line diff"]
26722671
makedroplist .bleft.mid.worddiff worddiff [mc "Line diff"] \
26732672
[mc "Markup words"] [mc "Color words"]
26742673
trace add variable worddiff write changeworddiff
@@ -12594,7 +12593,7 @@ set diffbgcolors {"#fff3f3" "#f0fff0"}
1259412593
set diffcontext 3
1259512594
set mergecolors {red blue "#00ff00" purple brown "#009090" magenta "#808000" "#009000" "#ff0080" cyan "#b07070" "#70b0f0" "#70f0b0" "#f0b070" "#ff70b0"}
1259612595
set ignorespace 0
12597-
set worddiff ""
12596+
set worddiff [mc "Line diff"]
1259812597
set markbgcolor "#e0e0ff"
1259912598
1260012599
set headbgcolor "#00ff00"
@@ -12675,6 +12674,7 @@ set config_variables {
1267512674
headfgcolor
1267612675
headoutlinecolor
1267712676
hideremotes
12677+
ignorespace
1267812678
indexcirclecolor
1267912679
kscroll
1268012680
limitdiffs
@@ -12708,6 +12708,7 @@ set config_variables {
1270812708
uifont
1270912709
visiblerefs
1271012710
web_browser
12711+
worddiff
1271112712
workingfilescirclecolor
1271212713
wrapcomment
1271312714
wrapdefault

0 commit comments

Comments
 (0)