commit-reach.c: allow get_merge_bases_many_0 to handle any repo
[gitweb.git] / packfile.h
index 442625723dea4b0c8f22b57d52e760d4b810540e..7a62d722317734794d30e09191b1d09e25b0969b 100644 (file)
@@ -146,7 +146,7 @@ extern int packed_object_info(struct repository *r,
                              off_t offset, struct object_info *);
 
 extern void mark_bad_packed_object(struct packed_git *p, const unsigned char *sha1);
-extern const struct packed_git *has_packed_and_bad(const unsigned char *sha1);
+extern const struct packed_git *has_packed_and_bad(struct repository *r, const unsigned char *sha1);
 
 /*
  * Iff a pack file in the given repository contains the object named by sha1,