diff options
author | Russell Belfer <arrbee@arrbee.com> | 2011-12-28 23:28:50 -0800 |
---|---|---|
committer | Russell Belfer <arrbee@arrbee.com> | 2011-12-29 00:01:10 -0800 |
commit | 73b51450a3194ddaa2ac180a1fea25fdf66971bb (patch) | |
tree | 4a6f4f0cfc90ded7f7734da2b6a9353d9bb0890b /src/repository.h | |
parent | ee1f0b1aed7798908d9e038b006b66f868613fc3 (diff) | |
download | libgit2-73b51450a3194ddaa2ac180a1fea25fdf66971bb.tar.gz |
Add support for macros and cache flush API.
Add support for git attribute macro definitions. Also, add
support for cache flush API to clear the attribute file content
cache when needed.
Additionally, improved the handling of global and system files,
making common utility functions in fileops and converting config
and attr to both use the common functions.
Adds a bunch more tests and fixed some memory leaks. Note that
adding macros required me to use refcounted attribute assignment
definitions, which complicated, but probably improved memory usage.
Diffstat (limited to 'src/repository.h')
-rw-r--r-- | src/repository.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/repository.h b/src/repository.h index 5274fc1d0..82052158a 100644 --- a/src/repository.h +++ b/src/repository.h @@ -19,7 +19,7 @@ #include "refs.h" #include "buffer.h" #include "odb.h" -#include "attr.h" +#include "attr_file.h" #define DOT_GIT ".git" #define GIT_DIR DOT_GIT "/" |