diff options
author | Jonathan Tan <jonathantanmy@google.com> | 2017-08-19 00:20:26 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-08-24 00:12:07 +0200 |
commit | 0abe14f6a5b7681b4ea02d1bd0a64332587ae053 (patch) | |
tree | 0197f856e42a9eda81b1addf3d2ec9effb5c3549 /cache.h | |
parent | pack: move install_packed_git() (diff) | |
download | git-0abe14f6a5b7681b4ea02d1bd0a64332587ae053.tar.xz git-0abe14f6a5b7681b4ea02d1bd0a64332587ae053.zip |
pack: move {,re}prepare_packed_git and approximate_object_count
Signed-off-by: Jonathan Tan <jonathantanmy@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'cache.h')
-rw-r--r-- | cache.h | 15 |
1 files changed, 0 insertions, 15 deletions
@@ -1605,21 +1605,6 @@ struct pack_entry { struct packed_git *p; }; -/* A hook to report invalid files in pack directory */ -#define PACKDIR_FILE_PACK 1 -#define PACKDIR_FILE_IDX 2 -#define PACKDIR_FILE_GARBAGE 4 -extern void (*report_garbage)(unsigned seen_bits, const char *path); - -extern void prepare_packed_git(void); -extern void reprepare_packed_git(void); - -/* - * Give a rough count of objects in the repository. This sacrifices accuracy - * for speed. - */ -unsigned long approximate_object_count(void); - extern struct packed_git *find_sha1_pack(const unsigned char *sha1, struct packed_git *packs); |