vendor/libgit2/src/config.h in rugged-0.22.2 vs vendor/libgit2/src/config.h in rugged-0.23.0b1

- old
+ new

@@ -46,11 +46,11 @@ extern int git_config__normalize_name(const char *in, char **out); /* internal only: does not normalize key and sets out to NULL if not found */ extern int git_config__lookup_entry( - const git_config_entry **out, + git_config_entry **out, const git_config *cfg, const char *key, bool no_errors); /* internal only: update and/or delete entry string with constraints */ @@ -65,10 +65,10 @@ * Lookup functions that cannot fail. These functions look up a config * value and return a fallback value if the value is missing or if any * failures occur while trying to access the value. */ -extern const char *git_config__get_string_force( +extern char *git_config__get_string_force( const git_config *cfg, const char *key, const char *fallback_value); extern int git_config__get_bool_force( const git_config *cfg, const char *key, int fallback_value);