MCPcopy Create free account
hub / github.com/git/git / duplicate_conf

Function duplicate_conf

trailer.c:438–445  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

436}
437
438static void duplicate_conf(struct conf_info *dst, const struct conf_info *src)
439{
440 *dst = *src;
441 dst->name = xstrdup_or_null(src->name);
442 dst->key = xstrdup_or_null(src->key);
443 dst->command = xstrdup_or_null(src->command);
444 dst->cmd = xstrdup_or_null(src->cmd);
445}
446
447static struct arg_item *get_conf_item(const char *name)
448{

Callers 2

get_conf_itemFunction · 0.85
add_arg_itemFunction · 0.85

Calls 1

xstrdup_or_nullFunction · 0.85

Tested by

no test coverage detected