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/config.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/config.h')
-rw-r--r-- | src/config.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/config.h b/src/config.h index fc639c6d4..6345b0a5d 100644 --- a/src/config.h +++ b/src/config.h @@ -14,6 +14,7 @@ #define GIT_CONFIG_FILENAME ".gitconfig" #define GIT_CONFIG_FILENAME_INREPO "config" +#define GIT_CONFIG_FILENAME_SYSTEM "gitconfig" #define GIT_CONFIG_FILE_MODE 0666 struct git_config { |