| 894 | } |
| 895 | |
| 896 | static GIT_PATH_FUNC(git_path_info_attributes, INFOATTRIBUTES_FILE) |
| 897 | |
| 898 | static 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 | |
| 910 | static void bootstrap_attr_stack(struct index_state *istate, |
| 911 | const struct object_id *tree_oid, |
no outgoing calls
no test coverage detected