diff options
author | Jonathan Tan <jonathantanmy@google.com> | 2017-08-19 00:20:36 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-08-24 00:12:07 +0200 |
commit | 150e3001d0c5cc69db72a10f3e0cd1e14f11acba (patch) | |
tree | 9ce033e4fa202c7843233b1245806bd5d7523f0d /sha1_file.c | |
parent | pack: move find_pack_entry() and make it global (diff) | |
download | git-150e3001d0c5cc69db72a10f3e0cd1e14f11acba.tar.xz git-150e3001d0c5cc69db72a10f3e0cd1e14f11acba.zip |
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 '')
-rw-r--r-- | sha1_file.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sha1_file.c b/sha1_file.c index af7102cd6a..32f4867289 100644 --- a/sha1_file.c +++ b/sha1_file.c @@ -1631,12 +1631,6 @@ int has_pack_index(const unsigned char *sha1) return 1; } -int has_sha1_pack(const unsigned char *sha1) -{ - struct pack_entry e; - return find_pack_entry(sha1, &e); -} - int has_sha1_file_with_flags(const unsigned char *sha1, int flags) { if (!startup_info->have_repository) |