summaryrefslogtreecommitdiff
path: root/packfile.h
diff options
context:
space:
mode:
authorJonathan Tan <jonathantanmy@google.com>2017-08-18 22:20:36 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-08-23 22:12:07 (GMT)
commit150e3001d0c5cc69db72a10f3e0cd1e14f11acba (patch)
tree9ce033e4fa202c7843233b1245806bd5d7523f0d /packfile.h
parent1a1e5d4f47fd77dec1b7e7ef0867939a251252b6 (diff)
downloadgit-150e3001d0c5cc69db72a10f3e0cd1e14f11acba.zip
git-150e3001d0c5cc69db72a10f3e0cd1e14f11acba.tar.gz
git-150e3001d0c5cc69db72a10f3e0cd1e14f11acba.tar.bz2
pack: move has_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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/packfile.h b/packfile.h
index a0a3c08..420fcdb 100644
--- a/packfile.h
+++ b/packfile.h
@@ -120,4 +120,6 @@ extern const struct packed_git *has_packed_and_bad(const unsigned char *sha1);
extern int find_pack_entry(const unsigned char *sha1, struct pack_entry *e);
+extern int has_sha1_pack(const unsigned char *sha1);
+
#endif