]> git.ipfire.org Git - thirdparty/git.git/blobdiff - packfile.h
reftable: handle null refnames in reftable_ref_record_equal
[thirdparty/git.git] / packfile.h
index 3ae117a8aef0faf2f6e7e12abba51235f36fe2f4..186146779d4aade93bf42cd63dd6e5bcd69e69c8 100644 (file)
@@ -159,8 +159,8 @@ int packed_object_info(struct repository *r,
                       struct packed_git *pack,
                       off_t offset, struct object_info *);
 
-void mark_bad_packed_object(struct packed_git *p, const unsigned char *sha1);
-const struct packed_git *has_packed_and_bad(struct repository *r, const unsigned char *sha1);
+void mark_bad_packed_object(struct packed_git *, const struct object_id *);
+const struct packed_git *has_packed_and_bad(struct repository *, const struct object_id *);
 
 #define ON_DISK_KEEP_PACKS 1
 #define IN_CORE_KEEP_PACKS 2