summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Strickroth <email@cs-ware.de>2013-06-11 21:33:18 +0200
committerSven Strickroth <email@cs-ware.de>2013-06-11 23:37:02 +0200
commit76b893b65336722fdee27e1dc8a82eab7ef065ea (patch)
treef80ef67624cdbb574e4bf1bd5039a4132b4ce3a1
parent3de768ca2f148777f099c67114d0419a90b6eea1 (diff)
downloadlibgit2-76b893b65336722fdee27e1dc8a82eab7ef065ea.tar.gz
Add high(est) config level for application specific config files
Some tools use an extra level to maintain an application specific config files on top of the normal ones. Revision 16adc9fade52b49e2bc13cb52407cc0025a93c8b broke this. Signed-off-by: Sven Strickroth <email@cs-ware.de>
-rw-r--r--include/git2/config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/git2/config.h b/include/git2/config.h
index 518dcaf16..59b4307be 100644
--- a/include/git2/config.h
+++ b/include/git2/config.h
@@ -44,6 +44,10 @@ typedef enum {
*/
GIT_CONFIG_LEVEL_LOCAL = 4,
+ /** Application specific configuration file; freely defined by applications
+ */
+ GIT_CONFIG_LEVEL_APP = 5,
+
/** Represents the highest level available config file (i.e. the most
* specific config file available that actually is loaded)
*/