| 196 | } |
| 197 | |
| 198 | static void determine_whence(struct wt_status *s) |
| 199 | { |
| 200 | if (file_exists(git_path_merge_head(the_repository))) |
| 201 | whence = FROM_MERGE; |
| 202 | else if (!sequencer_determine_whence(the_repository, &whence)) |
| 203 | whence = FROM_COMMIT; |
| 204 | if (s) |
| 205 | s->whence = whence; |
| 206 | } |
| 207 | |
| 208 | static void status_init_config(struct wt_status *s, config_fn_t fn) |
| 209 | { |
no test coverage detected