Commit 22ab8881 by Edward Thomson

Use a config snapshot

parent a3622ba6
...@@ -2572,7 +2572,7 @@ int merge_config(git_merge_config_t *out, git_repository *repo) ...@@ -2572,7 +2572,7 @@ int merge_config(git_merge_config_t *out, git_repository *repo)
*out = GIT_MERGE_CONFIG_NONE; *out = GIT_MERGE_CONFIG_NONE;
if ((error = git_repository_config(&config, repo)) < 0) if ((error = git_repository_config_snapshot(&config, repo)) < 0)
goto done; goto done;
if ((error = git_config_get_string(&value, config, "merge.ff")) < 0) { if ((error = git_config_get_string(&value, config, "merge.ff")) < 0) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment