| 206 | } |
| 207 | |
| 208 | static void status_init_config(struct wt_status *s, config_fn_t fn) |
| 209 | { |
| 210 | wt_status_prepare(the_repository, s); |
| 211 | init_diff_ui_defaults(); |
| 212 | repo_config(the_repository, fn, s); |
| 213 | determine_whence(s); |
| 214 | s->hints = advice_enabled(ADVICE_STATUS_HINTS); /* must come after repo_config() */ |
| 215 | } |
| 216 | |
| 217 | static void rollback_index_files(void) |
| 218 | { |
no test coverage detected