Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6a8f3fa

Browse files
committed
Fixed invalid error handling in git_repository_open_ext()
1 parent 8113056 commit 6a8f3fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/repository.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ int git_repository_open_ext(
531531

532532
if (config &&
533533
((error = load_config_data(repo, config)) < 0 ||
534-
(error = load_workdir(repo, config, &parent))) < 0)
534+
(error = load_workdir(repo, config, &parent)) < 0))
535535
goto cleanup;
536536
}
537537

0 commit comments

Comments
 (0)