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

Function clear_add_i_state

add-interactive.c:29–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27}
28
29void clear_add_i_state(struct add_i_state *s)
30{
31 interactive_config_clear(&s->cfg);
32 memset(s, 0, sizeof(*s));
33 interactive_config_clear(&s->cfg);
34}
35
36/*
37 * A "prefix item list" is a list of items that are identified by a string, and

Callers 1

run_add_iFunction · 0.85

Calls 1

interactive_config_clearFunction · 0.85

Tested by

no test coverage detected