mirror of
https://github.com/libgit2/libgit2.git
synced 2026-01-25 11:06:32 +00:00
Fixed invalid error handling in git_repository_open_ext()
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user