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

Function push_stack

attr.c:896–908  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

894}
895
896static GIT_PATH_FUNC(git_path_info_attributes, INFOATTRIBUTES_FILE)
897
898static void push_stack(struct attr_stack **attr_stack_p,
899 struct attr_stack *elem, char *origin, size_t originlen)
900{
901 if (elem) {
902 elem->origin = origin;
903 if (origin)
904 elem->originlen = originlen;
905 elem->prev = *attr_stack_p;
906 *attr_stack_p = elem;
907 }
908}
909
910static void bootstrap_attr_stack(struct index_state *istate,
911 const struct object_id *tree_oid,

Callers 2

bootstrap_attr_stackFunction · 0.85
prepare_attr_stackFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected