| 147 | } |
| 148 | |
| 149 | void enable_delayed_checkout(struct checkout *state) |
| 150 | { |
| 151 | if (!state->delayed_checkout) { |
| 152 | state->delayed_checkout = xmalloc(sizeof(*state->delayed_checkout)); |
| 153 | state->delayed_checkout->state = CE_CAN_DELAY; |
| 154 | string_list_init_nodup(&state->delayed_checkout->filters); |
| 155 | string_list_init_nodup(&state->delayed_checkout->paths); |
| 156 | } |
| 157 | } |
| 158 | |
| 159 | static int remove_available_paths(struct string_list_item *item, void *cb_data) |
| 160 | { |
no test coverage detected