summaryrefslogtreecommitdiff
path: root/attr.h
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2009-04-18 14:46:08 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-04-18 14:46:08 -0700
commit5758b25da43c401cad33f3304f78084a0305d21c (patch)
treee10e86da5fd7b1c0f13306e289a065bae336e38e /attr.h
parentMerge branch 'maint' (diff)
parentarchive test: attributes (diff)
downloadtgif-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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/attr.h b/attr.h
index 3a2f4ec1a0..69b5767ebc 100644
--- a/attr.h
+++ b/attr.h
@@ -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 *);