Fixed invalid error handling in git_repository_open_ext()

This commit is contained in:
Pierre-Olivier Latour 2015-06-23 20:59:03 -07:00
parent 8113056c7a
commit 6a8f3fa850

View File

@ -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;
}