diff options
Diffstat (limited to 'src/branch.c')
-rw-r--r-- | src/branch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/branch.c b/src/branch.c index 52760853b..808f6998e 100644 --- a/src/branch.c +++ b/src/branch.c @@ -341,7 +341,7 @@ int git_branch_upstream_name( if (!git_reference__is_branch(refname)) return not_a_local_branch(refname); - if ((error = git_repository_config_snapshot(&config, repo)) < 0) + if ((error = git_repository_config(&config, repo)) < 0) return error; if ((error = retrieve_upstream_configuration( |