summaryrefslogtreecommitdiff
path: root/packfile.h
diff options
context:
space:
mode:
authorJonathan Tan <jonathantanmy@google.com>2017-08-18 22:20:34 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-08-23 22:12:07 (GMT)
commitd6fe0036fd5e0cf7f51aa84381ebd321e898350a (patch)
treee3d0d3d4df44cc73a4b06bbdbc3dc52b1a720744 /packfile.h
parenta2551953b9619b285128c1e9cf35120fb7555d8f (diff)
downloadgit-d6fe0036fd5e0cf7f51aa84381ebd321e898350a.zip
git-d6fe0036fd5e0cf7f51aa84381ebd321e898350a.tar.gz
git-d6fe0036fd5e0cf7f51aa84381ebd321e898350a.tar.bz2
pack: move find_sha1_pack()
Signed-off-by: Jonathan Tan <jonathantanmy@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'packfile.h')
-rw-r--r--packfile.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/packfile.h b/packfile.h
index 4ab1511..e4d25d4 100644
--- a/packfile.h
+++ b/packfile.h
@@ -42,6 +42,9 @@ extern void install_packed_git(struct packed_git *pack);
*/
unsigned long approximate_object_count(void);
+extern struct packed_git *find_sha1_pack(const unsigned char *sha1,
+ struct packed_git *packs);
+
extern void pack_report(void);
/*