X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=attr.h;h=450f49d648a013ffddc6321b7fd79b3fc1b66f7a;hb=df3dac3758e0b3e8178aff03fd0ceaf340735527;hp=3a2f4ec1a09cca06fadedeb32bd86c5e279ad75c;hpb=6da14ee14f85fe5766780e1cbe8d42d385638e9e;p=git.git diff --git a/attr.h b/attr.h index 3a2f4ec1a..450f49d64 100644 --- a/attr.h +++ b/attr.h @@ -8,7 +8,7 @@ struct git_attr; * Given a string, return the gitattribute object that * corresponds to it. */ -struct git_attr *git_attr(const char *, int); +struct git_attr *git_attr(const char *); /* Internal use */ extern const char git_attr__true[]; @@ -33,7 +33,8 @@ int git_checkattr(const char *path, int, struct git_attr_check *); enum git_attr_direction { GIT_ATTR_CHECKIN, - GIT_ATTR_CHECKOUT + GIT_ATTR_CHECKOUT, + GIT_ATTR_INDEX, }; void git_attr_set_direction(enum git_attr_direction, struct index_state *);