summaryrefslogtreecommitdiff
path: root/src/odb_loose.c
diff options
context:
space:
mode:
authorVicent Martí <tanoku@gmail.com>2012-03-06 01:37:56 +0100
committerVicent Martí <tanoku@gmail.com>2012-03-06 01:37:56 +0100
commit9d160ba85539bbc593369f597a07d42c2770dff4 (patch)
tree18e43d3691f5b2138e9e98e9b1dd5144ab4b5627 /src/odb_loose.c
parent1a48112342932e9fcd45a1ff5935f1c9c53b83d1 (diff)
downloadlibgit2-9d160ba85539bbc593369f597a07d42c2770dff4.tar.gz
diff: Fix rebase breackage
Diffstat (limited to 'src/odb_loose.c')
-rw-r--r--src/odb_loose.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/odb_loose.c b/src/odb_loose.c
index 6546fa839..2dd7004ab 100644
--- a/src/odb_loose.c
+++ b/src/odb_loose.c
@@ -480,7 +480,7 @@ static int fn_locate_object_short_oid(void *state, git_buf *pathbuf) {
return GIT_SUCCESS;
}
- if (git_path_isdir(pathbuf->ptr) == true) {
+ if (git_path_isdir(pathbuf->ptr) == false) {
/* We are already in the directory matching the 2 first hex characters,
* compare the first ncmp characters of the oids */
if (!memcmp(sstate->short_oid + 2,