diff options
author | Junio C Hamano <gitster@pobox.com> | 2009-04-18 14:46:08 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-04-18 14:46:08 -0700 |
commit | 5758b25da43c401cad33f3304f78084a0305d21c (patch) | |
tree | e10e86da5fd7b1c0f13306e289a065bae336e38e /attr.h | |
parent | Merge branch 'maint' (diff) | |
parent | archive test: attributes (diff) | |
download | tgif-5758b25da43c401cad33f3304f78084a0305d21c.tar.xz |
Merge branch 'nd/archive-attribute'
* nd/archive-attribute:
archive test: attributes
archive: do not read .gitattributes in working directory
unpack-trees: do not muck with attributes when we are not checking out
attr: add GIT_ATTR_INDEX "direction"
archive tests: do not use .gitattributes in working directory
Diffstat (limited to 'attr.h')
-rw-r--r-- | attr.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 *); |