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

Function prefix_patch

apply.c:2191–2197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2189}
2190
2191static void prefix_patch(struct apply_state *state, struct patch *p)
2192{
2193 if (!state->prefix || p->is_toplevel_relative)
2194 return;
2195 prefix_one(state, &p->new_name);
2196 prefix_one(state, &p->old_name);
2197}
2198
2199/*
2200 * include/exclude

Callers 1

parse_chunkFunction · 0.85

Calls 1

prefix_oneFunction · 0.85

Tested by

no test coverage detected