MCPcopy Index your code
hub / github.com/git/git / enable_delayed_checkout

Function enable_delayed_checkout

entry.c:149–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147}
148
149void 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
159static int remove_available_paths(struct string_list_item *item, void *cb_data)
160{

Callers 2

check_updatesFunction · 0.85
checkout_worktreeFunction · 0.85

Calls 2

string_list_init_nodupFunction · 0.85
xmallocFunction · 0.70

Tested by

no test coverage detected