summaryrefslogtreecommitdiff
path: root/src/config.h
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2015-10-20 17:42:42 +0200
committerCarlos Martín Nieto <cmn@dwim.me>2015-10-21 15:11:18 +0200
commit8c7c5fa585c6a63dc8186febd6e032880655e85e (patch)
tree4fcfb2caf1ef82127605f03b2073ac4e75a561c8 /src/config.h
parent4280fabb9f79df6c4d95b1f08b97a03874b167eb (diff)
downloadlibgit2-cmn/programdata-config.tar.gz
config: add a ProgramData levelcmn/programdata-config
This is where portable git stores the global configuration which we can use to adhere to it even though git isn't quite installed on the system.
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/config.h b/src/config.h
index ba745331a..00c12b50d 100644
--- a/src/config.h
+++ b/src/config.h
@@ -12,6 +12,7 @@
#include "vector.h"
#include "repository.h"
+#define GIT_CONFIG_FILENAME_PROGRAMDATA "config"
#define GIT_CONFIG_FILENAME_SYSTEM "gitconfig"
#define GIT_CONFIG_FILENAME_GLOBAL ".gitconfig"
#define GIT_CONFIG_FILENAME_XDG "config"