]> git.ipfire.org Git - thirdparty/git.git/blobdiff - fetch-pack.c
Merge branch 'jh/fsck-promisors'
[thirdparty/git.git] / fetch-pack.c
index 0798e0b8b28538963c7dcd1d3f0bc50350ed531c..7aa1f58995a2d987db0fc69a35de4af783779185 100644 (file)
@@ -718,7 +718,8 @@ static int everything_local(struct fetch_pack_args *args,
        for (ref = *refs; ref; ref = ref->next) {
                struct object *o;
 
-               if (!has_object_file(&ref->old_oid))
+               if (!has_object_file_with_flags(&ref->old_oid,
+                                               OBJECT_INFO_QUICK))
                        continue;
 
                o = parse_object(&ref->old_oid);