X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=attr.h;h=69b5767ebc2189a8bf9d98ff88c1885ec8fcdb7d;hb=a21077e75f55b4696ada33d7d09f016f4ef16167;hp=f1c2038b0923d3130937eef965667204a8634e6d;hpb=b43b73666be32ecdc27384d67dc88e4b4869efa1;p=git.git diff --git a/attr.h b/attr.h index f1c2038b0..69b5767eb 100644 --- a/attr.h +++ b/attr.h @@ -31,4 +31,11 @@ struct git_attr_check { int git_checkattr(const char *path, int, struct git_attr_check *); +enum git_attr_direction { + GIT_ATTR_CHECKIN, + GIT_ATTR_CHECKOUT, + GIT_ATTR_INDEX, +}; +void git_attr_set_direction(enum git_attr_direction, struct index_state *); + #endif /* ATTR_H */