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/config.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/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 82e98ce51..5475ef384 100644 --- a/src/config.h +++ b/src/config.h @@ -13,6 +13,7 @@ #include "repository.h" #define GIT_CONFIG_FILENAME ".gitconfig" +#define GIT_CONFIG_FILENAME_ALT ".config/git/config" #define GIT_CONFIG_FILENAME_INREPO "config" #define GIT_CONFIG_FILENAME_SYSTEM "gitconfig" #define GIT_CONFIG_FILE_MODE 0666 |
