diff options
| author | Vicent Martà <tanoku@gmail.com> | 2012-04-11 12:38:45 +0200 |
|---|---|---|
| committer | Vicent Martà <tanoku@gmail.com> | 2012-04-11 12:38:45 +0200 |
| commit | dcfdb958e2033aa59beb624da4263ce031fbb21e (patch) | |
| tree | f17365bd6314e8318d143a8f2e57659b31037519 /src/attr.h | |
| parent | 73fe6a8e20ffbc18ad667ff519c0fb8adf85fc3e (diff) | |
| parent | efef3795a2d29f6b99bb9575585bb3fc19c3ed79 (diff) | |
| download | libgit2-dcfdb958e2033aa59beb624da4263ce031fbb21e.tar.gz | |
Merge branch 'new-error-handling' of github.com:libgit2/libgit2 into new-error-handling
Diffstat (limited to 'src/attr.h')
| -rw-r--r-- | src/attr.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/attr.h b/src/attr.h index eccda0ed7..350c0ebad 100644 --- a/src/attr.h +++ b/src/attr.h @@ -9,10 +9,15 @@ #include "attr_file.h" +#define GIT_ATTR_CONFIG "core.attributesfile" +#define GIT_IGNORE_CONFIG "core.excludesfile" + typedef struct { int initialized; git_hashtable *files; /* hash path to git_attr_file of rules */ git_hashtable *macros; /* hash name to vector<git_attr_assignment> */ + const char *cfg_attr_file; /* cached value of core.attributesfile */ + const char *cfg_excl_file; /* cached value of core.excludesfile */ } git_attr_cache; extern int git_attr_cache__init(git_repository *repo); |
