Fossil SCM
Be consistent with naming. Also remove unused line of code.
Commit
f742be5faa73d0caa0be1c4be423cf9f7257a41c
Parent
39667fd75e07334…
2 files changed
+2
-2
+1
-2
+2
-2
| --- src/setup.c | ||
| +++ src/setup.c | ||
| @@ -1217,12 +1217,12 @@ | ||
| 1217 | 1217 | @ show complete diffs of all file changes, or can just list the names of |
| 1218 | 1218 | @ the files that have changed. Users can get to either page by |
| 1219 | 1219 | @ clicking. This setting selects the default.</p> |
| 1220 | 1220 | |
| 1221 | 1221 | @ <hr /> |
| 1222 | - onoff_attribute("Show hidden artifacts by default", | |
| 1223 | - "show-hidden-artifacts", "unhide", 0, 0); | |
| 1222 | + onoff_attribute("Show hidden check-ins by default", | |
| 1223 | + "show-hidden-checkins", "unhide", 0, 0); | |
| 1224 | 1224 | @ <p>In timeline displays, show hidden check-ins by default.</p> |
| 1225 | 1225 | |
| 1226 | 1226 | @ <hr /> |
| 1227 | 1227 | entry_attribute("Max timeline comment length", 6, |
| 1228 | 1228 | "timeline-max-comment", "tmc", "0", 0); |
| 1229 | 1229 |
| --- src/setup.c | |
| +++ src/setup.c | |
| @@ -1217,12 +1217,12 @@ | |
| 1217 | @ show complete diffs of all file changes, or can just list the names of |
| 1218 | @ the files that have changed. Users can get to either page by |
| 1219 | @ clicking. This setting selects the default.</p> |
| 1220 | |
| 1221 | @ <hr /> |
| 1222 | onoff_attribute("Show hidden artifacts by default", |
| 1223 | "show-hidden-artifacts", "unhide", 0, 0); |
| 1224 | @ <p>In timeline displays, show hidden check-ins by default.</p> |
| 1225 | |
| 1226 | @ <hr /> |
| 1227 | entry_attribute("Max timeline comment length", 6, |
| 1228 | "timeline-max-comment", "tmc", "0", 0); |
| 1229 |
| --- src/setup.c | |
| +++ src/setup.c | |
| @@ -1217,12 +1217,12 @@ | |
| 1217 | @ show complete diffs of all file changes, or can just list the names of |
| 1218 | @ the files that have changed. Users can get to either page by |
| 1219 | @ clicking. This setting selects the default.</p> |
| 1220 | |
| 1221 | @ <hr /> |
| 1222 | onoff_attribute("Show hidden check-ins by default", |
| 1223 | "show-hidden-checkins", "unhide", 0, 0); |
| 1224 | @ <p>In timeline displays, show hidden check-ins by default.</p> |
| 1225 | |
| 1226 | @ <hr /> |
| 1227 | entry_attribute("Max timeline comment length", 6, |
| 1228 | "timeline-max-comment", "tmc", "0", 0); |
| 1229 |
+1
-2
| --- src/timeline.c | ||
| +++ src/timeline.c | ||
| @@ -1126,13 +1126,12 @@ | ||
| 1126 | 1126 | tmFlags |= TIMELINE_UNHIDE; |
| 1127 | 1127 | url_add_parameter(&url, "unhide", "1"); |
| 1128 | 1128 | }else{ |
| 1129 | 1129 | url_add_parameter(&url, "unhide", "0"); |
| 1130 | 1130 | } |
| 1131 | - }else if( db_get_boolean("show-hidden-artifacts", 0)==1 ){ | |
| 1131 | + }else if( db_get_boolean("show-hidden-checkins", 0)==1 ){ | |
| 1132 | 1132 | tmFlags |= TIMELINE_UNHIDE; |
| 1133 | - /*url_add_parameter(&url, "unhide", "1");*/ | |
| 1134 | 1133 | } |
| 1135 | 1134 | if( P("ubg")!=0 ){ |
| 1136 | 1135 | tmFlags |= TIMELINE_UCOLOR; |
| 1137 | 1136 | url_add_parameter(&url, "ubg", 0); |
| 1138 | 1137 | } |
| 1139 | 1138 |
| --- src/timeline.c | |
| +++ src/timeline.c | |
| @@ -1126,13 +1126,12 @@ | |
| 1126 | tmFlags |= TIMELINE_UNHIDE; |
| 1127 | url_add_parameter(&url, "unhide", "1"); |
| 1128 | }else{ |
| 1129 | url_add_parameter(&url, "unhide", "0"); |
| 1130 | } |
| 1131 | }else if( db_get_boolean("show-hidden-artifacts", 0)==1 ){ |
| 1132 | tmFlags |= TIMELINE_UNHIDE; |
| 1133 | /*url_add_parameter(&url, "unhide", "1");*/ |
| 1134 | } |
| 1135 | if( P("ubg")!=0 ){ |
| 1136 | tmFlags |= TIMELINE_UCOLOR; |
| 1137 | url_add_parameter(&url, "ubg", 0); |
| 1138 | } |
| 1139 |
| --- src/timeline.c | |
| +++ src/timeline.c | |
| @@ -1126,13 +1126,12 @@ | |
| 1126 | tmFlags |= TIMELINE_UNHIDE; |
| 1127 | url_add_parameter(&url, "unhide", "1"); |
| 1128 | }else{ |
| 1129 | url_add_parameter(&url, "unhide", "0"); |
| 1130 | } |
| 1131 | }else if( db_get_boolean("show-hidden-checkins", 0)==1 ){ |
| 1132 | tmFlags |= TIMELINE_UNHIDE; |
| 1133 | } |
| 1134 | if( P("ubg")!=0 ){ |
| 1135 | tmFlags |= TIMELINE_UCOLOR; |
| 1136 | url_add_parameter(&url, "ubg", 0); |
| 1137 | } |
| 1138 |