summaryrefslogtreecommitdiff
path: root/src/attr.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/attr.c
parent1a48112342932e9fcd45a1ff5935f1c9c53b83d1 (diff)
downloadlibgit2-9d160ba85539bbc593369f597a07d42c2770dff4.tar.gz
diff: Fix rebase breackage
Diffstat (limited to 'src/attr.c')
-rw-r--r--src/attr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/attr.c b/src/attr.c
index 603498df2..0aa1e325b 100644
--- a/src/attr.c
+++ b/src/attr.c
@@ -235,7 +235,7 @@ int git_attr_cache__lookup_or_create_file(
return GIT_SUCCESS;
}
- if (loader && git_path_exists(filename) != GIT_SUCCESS) {
+ if (loader && git_path_exists(filename) == false) {
*file_ptr = NULL;
return GIT_SUCCESS;
}