summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2018-04-22 14:51:00 +0100
committerGitHub <noreply@github.com>2018-04-22 14:51:00 +0100
commit5d346c11ead7153c103cca934fb3c934e130e8d8 (patch)
tree33339d1f419c4c5a91b93b5fa1e02394fd441da1 /include
parent2b9672267bace95bae56a558491edf0637f819ba (diff)
parent6a15f657e749dc251049b0152e180264482b11fa (diff)
downloadlibgit2-5d346c11ead7153c103cca934fb3c934e130e8d8.tar.gz
Merge pull request #4525 from pks-t/pks/config-iterate-in-order
Configuration entry iteration in order
Diffstat (limited to 'include')
-rw-r--r--include/git2/config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/git2/config.h b/include/git2/config.h
index d9da65b84..7bcca7da2 100644
--- a/include/git2/config.h
+++ b/include/git2/config.h
@@ -64,6 +64,7 @@ typedef enum {
typedef struct git_config_entry {
const char *name; /**< Name of the entry (normalised) */
const char *value; /**< String value of the entry */
+ unsigned int include_depth; /**< Depth of includes where this variable was found */
git_config_level_t level; /**< Which config file this was found in */
void (*free)(struct git_config_entry *entry); /**< Free function for this entry */
void *payload; /**< Opaque value for the free function. Do not read or write */