diff options
Diffstat (limited to 'attr.h')
-rw-r--r-- | attr.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -108,6 +108,7 @@ */ struct index_state; +struct object_id; /** * An attribute is an opaque object that is identified by its name. Pass the @@ -190,13 +191,14 @@ void attr_check_free(struct attr_check *check); const char *git_attr_name(const struct git_attr *); void git_check_attr(struct index_state *istate, - const char *path, struct attr_check *check); + const struct object_id *tree_oid, const char *path, + struct attr_check *check); /* * Retrieve all attributes that apply to the specified path. * check holds the attributes and their values. */ -void git_all_attrs(struct index_state *istate, +void git_all_attrs(struct index_state *istate, const struct object_id *tree_oid, const char *path, struct attr_check *check); enum git_attr_direction { |