summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/repository.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/repository.c b/src/repository.c
index b7c99ea7f..de1c0dc1f 100644
--- a/src/repository.c
+++ b/src/repository.c
@@ -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;
}