mirror of
https://git.proxmox.com/git/libgit2
synced 2025-12-26 21:39:56 +00:00
Use a config snapshot
This commit is contained in:
parent
a3622ba6cc
commit
22ab888178
@ -2572,7 +2572,7 @@ int merge_config(git_merge_config_t *out, git_repository *repo)
|
||||
|
||||
*out = GIT_MERGE_CONFIG_NONE;
|
||||
|
||||
if ((error = git_repository_config(&config, repo)) < 0)
|
||||
if ((error = git_repository_config_snapshot(&config, repo)) < 0)
|
||||
goto done;
|
||||
|
||||
if ((error = git_config_get_string(&value, config, "merge.ff")) < 0) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user