diff options
Diffstat (limited to 'packfile.h')
-rw-r--r-- | packfile.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packfile.h b/packfile.h index 12baa6118a..b678d35c0b 100644 --- a/packfile.h +++ b/packfile.h @@ -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); |