pack: move find_sha1_pack()

Signed-off-by: Jonathan Tan <jonathantanmy@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Jonathan Tan
2017-08-18 15:20:34 -07:00
committed by Junio C Hamano
parent a2551953b9
commit d6fe0036fd
6 changed files with 18 additions and 16 deletions

View File

@ -1602,9 +1602,6 @@ struct pack_entry {
struct packed_git *p;
};
extern struct packed_git *find_sha1_pack(const unsigned char *sha1,
struct packed_git *packs);
/*
* Create a temporary file rooted in the object database directory, or
* die on failure. The filename is taken from "pattern", which should have the