| 394 | } |
| 395 | |
| 396 | void interactive_config_clear(struct interactive_config *cfg) |
| 397 | { |
| 398 | FREE_AND_NULL(cfg->interactive_diff_filter); |
| 399 | FREE_AND_NULL(cfg->interactive_diff_algorithm); |
| 400 | memset(cfg, 0, sizeof(*cfg)); |
| 401 | cfg->use_color_interactive = GIT_COLOR_UNKNOWN; |
| 402 | cfg->use_color_diff = GIT_COLOR_UNKNOWN; |
| 403 | } |
| 404 | |
| 405 | static void add_p_state_clear(struct add_p_state *s) |
| 406 | { |
no outgoing calls
no test coverage detected