| commit | 6a8f3fa85044243d9103283a899bc8058b3149fe | [log] [tgz] |
|---|---|---|
| author | Pierre-Olivier Latour <pol@mac.com> | Tue Jun 23 20:59:03 2015 -0700 |
| committer | Pierre-Olivier Latour <pol@mac.com> | Tue Jun 23 20:59:03 2015 -0700 |
| tree | 9ef50cd3c9366588b7bba0edde644eda13b3505c | |
| parent | 8113056c7a9e3efc543e75147fe72a25405fc9f3 [diff] |
Fixed invalid error handling in git_repository_open_ext()
diff --git a/src/repository.c b/src/repository.c index b7c99ea..de1c0dc 100644 --- a/src/repository.c +++ b/src/repository.c
@@ -531,7 +531,7 @@ 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; }