summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorJonathan Tan <jonathantanmy@google.com>2017-08-18 15:20:22 -0700
committerJunio C Hamano <gitster@pobox.com>2017-08-23 15:12:06 -0700
commit84f80ad5e11d29b61570269a25cf447f34c5aeba (patch)
tree2cc17b1e603eecad0c7ac7b03db1e30795781ea2 /cache.h
parent3836d88ae575cf2321fb17296f748c0bb35ba268 (diff)
downloadgit-84f80ad5e11d29b61570269a25cf447f34c5aeba.tar.gz
pack: move use_pack()
The function open_packed_git() needs to be temporarily made global. Its scope will be restored to static in a subsequent commit. 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.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/cache.h b/cache.h
index 48f44959d2..2e02b02d17 100644
--- a/cache.h
+++ b/cache.h
@@ -1639,7 +1639,6 @@ extern int odb_mkstemp(struct strbuf *template, const char *pattern);
*/
extern int odb_pack_keep(const char *name);
-extern unsigned char *use_pack(struct packed_git *, struct pack_window **, off_t, unsigned long *);
extern void unuse_pack(struct pack_window **);
extern void clear_delta_base_cache(void);
extern struct packed_git *add_packed_git(const char *path, size_t path_len, int local);