Commit 6a8f3fa8 by Pierre-Olivier Latour

Fixed invalid error handling in git_repository_open_ext()

parent 8113056c
......@@ -531,7 +531,7 @@ int git_repository_open_ext(
if (config &&
((error = load_config_data(repo, config)) < 0 ||
(error = load_workdir(repo, config, &parent))) < 0)
(error = load_workdir(repo, config, &parent)) < 0))
goto cleanup;
}
......
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