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:19 +0300
committerJunio C Hamano <gitster@pobox.com>2017-08-24 01:12:06 +0300
commit0317f45576a0b48c90c4b023fa572a000633946c (patch)
tree987b83cab92be9282e64c7011b2008884f373a51 /cache.h
parent8e21176c3cff203c1b991fda55df3ac7904d09fa (diff)
pack: move open_pack_index(), parse_pack_index()
alloc_packed_git() in packfile.c is duplicated from sha1_file.c. In a subsequent commit, alloc_packed_git() will be removed from sha1_file.c. 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.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/cache.h b/cache.h
index aaf825fb7b..9fd61e9ea0 100644
--- a/cache.h
+++ b/cache.h
@@ -1605,8 +1605,6 @@ struct pack_entry {
struct packed_git *p;
};
-extern struct packed_git *parse_pack_index(unsigned char *sha1, const char *idx_path);
-
/* A hook to report invalid files in pack directory */
#define PACKDIR_FILE_PACK 1
#define PACKDIR_FILE_IDX 2
@@ -1642,12 +1640,6 @@ extern int odb_mkstemp(struct strbuf *template, const char *pattern);
extern int odb_pack_keep(const char *name);
/*
- * mmap the index file for the specified packfile (if it is not
- * already mmapped). Return 0 on success.
- */
-extern int open_pack_index(struct packed_git *);
-
-/*
* munmap the index file for the specified packfile (if it is
* currently mmapped).
*/