diff options
| author | Vicent Martà <tanoku@gmail.com> | 2012-03-06 01:37:56 +0100 |
|---|---|---|
| committer | Vicent Martà <tanoku@gmail.com> | 2012-03-06 01:37:56 +0100 |
| commit | 9d160ba85539bbc593369f597a07d42c2770dff4 (patch) | |
| tree | 18e43d3691f5b2138e9e98e9b1dd5144ab4b5627 /src/repository.c | |
| parent | 1a48112342932e9fcd45a1ff5935f1c9c53b83d1 (diff) | |
| download | libgit2-9d160ba85539bbc593369f597a07d42c2770dff4.tar.gz | |
diff: Fix rebase breackage
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) { |
