aboutsummaryrefslogtreecommitdiff
path: root/packfile.h
diff options
context:
space:
mode:
authorJonathan Tan <jonathantanmy@google.com>2017-08-18 15:20:37 -0700
committerJunio C Hamano <gitster@pobox.com>2017-08-23 15:12:07 -0700
commitf9a8672a81277b83cabd59c6705089351c4f3ec4 (patch)
tree35cc126bff3151f8ecc74e3bc96b6318370fa526 /packfile.h
parent150e3001d0c5cc69db72a10f3e0cd1e14f11acba (diff)
downloadgit-f9a8672a81277b83cabd59c6705089351c4f3ec4.tar.gz
git-f9a8672a81277b83cabd59c6705089351c4f3ec4.tar.xz
pack: move has_pack_index()
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 420fcdb2b..d7df41a82 100644
--- a/packfile.h
+++ b/packfile.h
@@ -122,4 +122,6 @@ extern int find_pack_entry(const unsigned char *sha1, struct pack_entry *e);
extern int has_sha1_pack(const unsigned char *sha1);
+extern int has_pack_index(const unsigned char *sha1);
+
#endif