Commit 76b893b65336722fdee27e1dc8a82eab7ef065ea

Sven Strickroth 2013-06-11T21:33:18

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>

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/include/git2/config.h b/include/git2/config.h
index 518dcaf..59b4307 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)
 	 */