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

Function read_attr_from_array

attr.c:658–669  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

656}
657
658static struct attr_stack *read_attr_from_array(const char **list)
659{
660 struct attr_stack *res;
661 const char *line;
662 int lineno = 0;
663
664 CALLOC_ARRAY(res, 1);
665 while ((line = *(list++)) != NULL)
666 handle_attr_line(res, line, "[builtin]", ++lineno,
667 READ_ATTR_MACRO_OK);
668 return res;
669}
670
671/*
672 * Callers into the attribute system assume there is a single, system-wide

Callers 1

bootstrap_attr_stackFunction · 0.85

Calls 1

handle_attr_lineFunction · 0.85

Tested by

no test coverage detected