summaryrefslogtreecommitdiff
path: root/src/remote.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/remote.c')
-rw-r--r--src/remote.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/remote.c b/src/remote.c
index 0c82433d1..851fc66b5 100644
--- a/src/remote.c
+++ b/src/remote.c
@@ -356,7 +356,7 @@ int git_remote_load(git_remote **out, git_repository *repo, const char *name)
if ((error = ensure_remote_name_is_valid(name)) < 0)
return error;
- if ((error = git_repository_config_snapshot(&config, repo)) < 0)
+ if ((error = git_repository_config(&config, repo)) < 0)
return error;
remote = git__malloc(sizeof(git_remote));