diff options
Diffstat (limited to 'src/repository.c')
| -rw-r--r-- | src/repository.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/repository.c b/src/repository.c index fe785cfcd..e274252d2 100644 --- a/src/repository.c +++ b/src/repository.c @@ -171,7 +171,7 @@ int git_repository_open(git_repository **repo_out, const char *path) * of the working dir, by testing if it contains a `.git` * folder inside of it. */ - if (git_path_contains_dir(&path_buf, GIT_DIR) == GIT_SUCCESS) + if (git_path_contains_dir(&path_buf, GIT_DIR) == true) git_buf_joinpath(&path_buf, path_buf.ptr, GIT_DIR); if (quickcheck_repository_dir(&path_buf) < GIT_SUCCESS) { |
