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

Function check_patch_list

apply.c:4164–4182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4162}
4163
4164static int check_patch_list(struct apply_state *state, struct patch *patch)
4165{
4166 int err = 0;
4167
4168 prepare_symlink_changes(state, patch);
4169 prepare_fn_table(state, patch);
4170 while (patch) {
4171 int res;
4172 if (state->apply_verbosity > verbosity_normal)
4173 say_patch_name(stderr,
4174 _("Checking patch %s..."), patch);
4175 res = check_patch(state, patch);
4176 if (res == -128)
4177 return -128;
4178 err |= res;
4179 patch = patch->next;
4180 }
4181 return err;
4182}
4183
4184static int read_apply_cache(struct apply_state *state)
4185{

Callers 1

apply_patchFunction · 0.85

Calls 4

prepare_symlink_changesFunction · 0.85
prepare_fn_tableFunction · 0.85
say_patch_nameFunction · 0.85
check_patchFunction · 0.85

Tested by

no test coverage detected