vendor/libgit2/src/config_file.h in rugged-0.26.7 vs vendor/libgit2/src/config_file.h in rugged-0.27.0

- old
+ new

@@ -5,16 +5,18 @@ * a Linking Exception. For full terms see the included COPYING file. */ #ifndef INCLUDE_config_file_h__ #define INCLUDE_config_file_h__ +#include "common.h" + #include "git2/sys/config.h" #include "git2/config.h" -GIT_INLINE(int) git_config_file_open(git_config_backend *cfg, unsigned int level) +GIT_INLINE(int) git_config_file_open(git_config_backend *cfg, unsigned int level, const git_repository *repo) { - return cfg->open(cfg, level); + return cfg->open(cfg, level, repo); } GIT_INLINE(void) git_config_file_free(git_config_backend *cfg) { if (cfg) @@ -67,6 +69,5 @@ } extern int git_config_file_normalize_section(char *start, char *end); #endif -