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

Function add_instead_of

remote.c:318–324  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

316}
317
318static void add_instead_of(struct rewrite *rewrite, const char *instead_of)
319{
320 ALLOC_GROW(rewrite->instead_of, rewrite->instead_of_nr + 1, rewrite->instead_of_alloc);
321 rewrite->instead_of[rewrite->instead_of_nr].s = instead_of;
322 rewrite->instead_of[rewrite->instead_of_nr].len = strlen(instead_of);
323 rewrite->instead_of_nr++;
324}
325
326#ifndef WITH_BREAKING_CHANGES
327static const char *skip_spaces(const char *s)

Callers 1

handle_configFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected