Merge branch 'md/list-objects-filter-memfix'
[gitweb.git] / packfile.h
index 12baa6118a86216d76e342740c592802b70936df..b678d35c0b6df11623f2d29f7b7ea7dfe0e1bea1 100644 (file)
@@ -63,7 +63,8 @@ struct packed_git *get_all_packs(struct repository *r);
  * Give a rough count of objects in the repository. This sacrifices accuracy
  * for speed.
  */
-unsigned long approximate_object_count(void);
+unsigned long repo_approximate_object_count(struct repository *r);
+#define approximate_object_count() repo_approximate_object_count(the_repository)
 
 struct packed_git *find_sha1_pack(const unsigned char *sha1,
                                  struct packed_git *packs);