Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-p4: do not fail in verbose mode for missing 'fileSize' key
[gitweb.git]
/
cache-tree.c
diff --git
a/cache-tree.c
b/cache-tree.c
index 490a25adf06e4e1fcd70530943f604bc7c9f1b58..5ce51468f0b402fd2121e2c8b51ff12703d431ba 100644
(file)
--- a/
cache-tree.c
+++ b/
cache-tree.c
@@
-717,7
+717,7
@@
int cache_tree_matches_traversal(struct cache_tree *root,
it = find_cache_tree_from_traversal(root, info);
it = cache_tree_find(it, ent->path);
- if (it && it->entry_count > 0 &&
!oidcmp
(ent->oid, &it->oid))
+ if (it && it->entry_count > 0 &&
oideq
(ent->oid, &it->oid))
return it->entry_count;
return 0;
}