Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Tan <jonathantanmy@google.com>2017-08-19 01:20:31 +0300
committerJunio C Hamano <gitster@pobox.com>2017-08-24 01:12:07 +0300
commitd5a16761820f2539bf8610c8f0c64f610e29314e (patch)
tree4081ca185c262f7a2b6acec8c830a4172789e720 /cache.h
parentf1d8130be0a7229b215b76eac54c561a0124bc99 (diff)
pack: move nth_packed_object_{sha1,oid}
Signed-off-by: Jonathan Tan <jonathantanmy@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/cache.h b/cache.h
index 79457975fe..42a8283365 100644
--- a/cache.h
+++ b/cache.h
@@ -1631,20 +1631,6 @@ extern int odb_pack_keep(const char *name);
extern void check_pack_index_ptr(const struct packed_git *p, const void *ptr);
/*
- * Return the SHA-1 of the nth object within the specified packfile.
- * Open the index if it is not already open. The return value points
- * at the SHA-1 within the mmapped index. Return NULL if there is an
- * error.
- */
-extern const unsigned char *nth_packed_object_sha1(struct packed_git *, uint32_t n);
-/*
- * Like nth_packed_object_sha1, but write the data into the object specified by
- * the the first argument. Returns the first argument on success, and NULL on
- * error.
- */
-extern const struct object_id *nth_packed_object_oid(struct object_id *, struct packed_git *, uint32_t n);
-
-/*
* Return the offset of the nth object within the specified packfile.
* The index must already be opened.
*/