Skip to content

Commit 5d346c1

Browse files
authored
Merge pull request libgit2#4525 from pks-t/pks/config-iterate-in-order
Configuration entry iteration in order
2 parents 2b96722 + 6a15f65 commit 5d346c1

File tree

3 files changed

+182
-210
lines changed

3 files changed

+182
-210
lines changed

include/git2/config.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ typedef enum {
6464
typedef struct git_config_entry {
6565
const char *name; /**< Name of the entry (normalised) */
6666
const char *value; /**< String value of the entry */
67+
unsigned int include_depth; /**< Depth of includes where this variable was found */
6768
git_config_level_t level; /**< Which config file this was found in */
6869
void (*free)(struct git_config_entry *entry); /**< Free function for this entry */
6970
void *payload; /**< Opaque value for the free function. Do not read or write */

0 commit comments

Comments
 (0)