diff options
Diffstat (limited to 'object-store.c')
| -rw-r--r-- | object-store.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/object-store.c b/object-store.c index 0d873868a6..2db34804e8 100644 --- a/object-store.c +++ b/object-store.c @@ -847,7 +847,7 @@ int pretend_object_file(struct repository *repo, char *co_buf; hash_object_file(repo->hash_algo, buf, len, type, oid); - if (repo_has_object_file_with_flags(repo, oid, OBJECT_INFO_QUICK | OBJECT_INFO_SKIP_FETCH_OBJECT) || + if (has_object(repo, oid, 0) || find_cached_object(repo->objects, oid)) return 0; |
