diff options
| author | Russell Belfer <rb@github.com> | 2012-08-24 14:32:45 -0700 |
|---|---|---|
| committer | Russell Belfer <rb@github.com> | 2012-08-24 14:32:45 -0700 |
| commit | 7fbca880aa5c011257ef734d0b5bfd5545dbaf6b (patch) | |
| tree | 4013deca09f158930284631d89bcbfb379f6f879 /src/attr.h | |
| parent | 07c06f7a83640e11d6be13a87f02e986ecc6e4b3 (diff) | |
| download | libgit2-7fbca880aa5c011257ef734d0b5bfd5545dbaf6b.tar.gz | |
Support new config locations
As of git v1.7.12, $HOME/.config/git/ is supported as a new
location for "config", "attributes", and "ignore" files.
Diffstat (limited to 'src/attr.h')
| -rw-r--r-- | src/attr.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/attr.h b/src/attr.h index 78cfb57c6..7589bb10a 100644 --- a/src/attr.h +++ b/src/attr.h @@ -11,6 +11,7 @@ #include "strmap.h" #define GIT_ATTR_CONFIG "core.attributesfile" +#define GIT_ATTR_CONFIG_DEFAULT ".config/git/attributes" #define GIT_IGNORE_CONFIG "core.excludesfile" #define GIT_IGNORE_CONFIG_DEFAULT ".config/git/ignore" |
