diff options
Diffstat (limited to 'include/git2')
-rw-r--r-- | include/git2/config.h | 14 | ||||
-rw-r--r-- | include/git2/sys/config.h | 1 |
2 files changed, 0 insertions, 15 deletions
diff --git a/include/git2/config.h b/include/git2/config.h index 21a5825a5..a4e20eda8 100644 --- a/include/git2/config.h +++ b/include/git2/config.h @@ -242,20 +242,6 @@ GIT_EXTERN(int) git_config_open_global(git_config **out, git_config *config); */ GIT_EXTERN(int) git_config_snapshot(git_config **out, git_config *config); - -/** - * Reload changed config files - * - * A config file may be changed on disk out from under the in-memory - * config object. This function causes us to look for files that have - * been modified since we last loaded them and refresh the config with - * the latest information. - * - * @param cfg The configuration to refresh - * @return 0 or an error code - */ -GIT_EXTERN(int) git_config_refresh(git_config *cfg); - /** * Free the configuration and its associated memory and files * diff --git a/include/git2/sys/config.h b/include/git2/sys/config.h index 85e0d6417..9136635ef 100644 --- a/include/git2/sys/config.h +++ b/include/git2/sys/config.h @@ -63,7 +63,6 @@ struct git_config_backend { int (*del)(struct git_config_backend *, const char *key); int (*del_multivar)(struct git_config_backend *, const char *key, const char *regexp); int (*iterator)(git_config_iterator **, struct git_config_backend *); - int (*refresh)(struct git_config_backend *); /** Produce a read-only version of this backend */ int (*snapshot)(struct git_config_backend **, struct git_config_backend *); void (*free)(struct git_config_backend *); |