]> git.ipfire.org Git - thirdparty/git.git/blobdiff - config.h
config: add kvi.path, use it to evaluate includes
[thirdparty/git.git] / config.h
index bd366ddb5ef0bc311b91f4ae4fd26414683d4a93..b5573e67a00440e2eb0ba0e737087ef6db14d2e3 100644 (file)
--- a/config.h
+++ b/config.h
@@ -116,12 +116,14 @@ struct key_value_info {
        int linenr;
        enum config_origin_type origin_type;
        enum config_scope scope;
+       const char *path;
 };
 #define KVI_INIT { \
        .filename = NULL, \
        .linenr = -1, \
        .origin_type = CONFIG_ORIGIN_UNKNOWN, \
        .scope = CONFIG_SCOPE_UNKNOWN, \
+       .path = NULL, \
 }
 
 /* Captures additional information that a config callback can use. */