MCPcopy Create free account
hub / github.com/git/git / interactive_config_clear

Function interactive_config_clear

add-patch.c:396–403  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

394}
395
396void 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
405static void add_p_state_clear(struct add_p_state *s)
406{

Callers 2

clear_add_i_stateFunction · 0.85
add_p_state_clearFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected