fsck: introduce partialclone extension
[gitweb.git] / builtin / fsck.c
index 56afe405b8072b3099a23661ac586f673e54ff0e..29342998fd7adb3aeafee01049d146591982a3fb 100644 (file)
@@ -398,7 +398,7 @@ static void fsck_handle_reflog_oid(const char *refname, struct object_id *oid,
                                        xstrfmt("%s@{%"PRItime"}", refname, timestamp));
                        obj->flags |= USED;
                        mark_object_reachable(obj);
-               } else {
+               } else if (!is_promisor_object(oid)) {
                        error("%s: invalid reflog entry %s", refname, oid_to_hex(oid));
                        errors_found |= ERROR_REACHABLE;
                }