| 135 | } |
| 136 | |
| 137 | void clear_apply_state(struct apply_state *state) |
| 138 | { |
| 139 | string_list_clear(&state->limit_by_name, 0); |
| 140 | strset_clear(&state->removed_symlinks); |
| 141 | strset_clear(&state->kept_symlinks); |
| 142 | strbuf_release(&state->root); |
| 143 | FREE_AND_NULL(state->fake_ancestor); |
| 144 | |
| 145 | /* &state->fn_table is cleared at the end of apply_patch() */ |
| 146 | } |
| 147 | |
| 148 | static void mute_routine(const char *msg UNUSED, va_list params UNUSED) |
| 149 | { |
no test coverage detected