diff options
| author | Junio C Hamano <gitster@pobox.com> | 2009-03-26 00:27:33 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2009-03-26 00:27:33 -0700 |
| commit | 6ba8b079cbe49e2e49bc26a0ca2e47185337142c (patch) | |
| tree | aad000ecd7316a43ee2e6e8ffb31e9955e9609e9 /attr.h | |
| parent | b71fdc590d660f81e8e2ebfdab989feb60e86dde (diff) | |
| parent | b997045e01c2f12ac7dc44c487915f8e50da4d4d (diff) | |
| download | git-6ba8b079cbe49e2e49bc26a0ca2e47185337142c.tar.gz | |
Merge branch 'jc/attributes-checkout'
* jc/attributes-checkout:
Add a test for checking whether gitattributes is honored by checkout.
Read attributes from the index that is being checked out
Diffstat (limited to 'attr.h')
| -rw-r--r-- | attr.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -31,4 +31,10 @@ 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 +}; +void git_attr_set_direction(enum git_attr_direction, struct index_state *); + #endif /* ATTR_H */ |
