diff options
author | Junio C Hamano <gitster@pobox.com> | 2008-12-11 00:36:31 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-12-11 00:36:31 -0800 |
commit | de0db422782ddaf7754ac5b03fdc6dc5de1a9ae4 (patch) | |
tree | 643c6f8be7804462cc1e21f95cd33bd8dfb27f5f /cache.h | |
parent | 07e62b733fad4236371a8cd6abc32409fb1fb87d (diff) | |
parent | 04d39759373e5de017e7c17ef4b762ac5ad3afcc (diff) | |
download | git-de0db422782ddaf7754ac5b03fdc6dc5de1a9ae4.tar.gz |
Merge branch 'maint'
* maint:
fsck: reduce stack footprint
make sure packs to be replaced are closed beforehand
Diffstat (limited to 'cache.h')
-rw-r--r-- | cache.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -820,6 +820,7 @@ extern int open_pack_index(struct packed_git *); extern unsigned char* use_pack(struct packed_git *, struct pack_window **, off_t, unsigned int *); extern void close_pack_windows(struct packed_git *); extern void unuse_pack(struct pack_window **); +extern void free_pack_by_name(const char *); extern struct packed_git *add_packed_git(const char *, int, int); extern const unsigned char *nth_packed_object_sha1(struct packed_git *, uint32_t); extern off_t nth_packed_object_offset(const struct packed_git *, uint32_t); |