diff options
author | Junio C Hamano <gitster@pobox.com> | 2008-12-11 09:36:31 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-12-11 09:36:31 +0100 |
commit | de0db422782ddaf7754ac5b03fdc6dc5de1a9ae4 (patch) | |
tree | 643c6f8be7804462cc1e21f95cd33bd8dfb27f5f /cache.h | |
parent | rebase: improve error messages about dirty state (diff) | |
parent | fsck: reduce stack footprint (diff) | |
download | git-de0db422782ddaf7754ac5b03fdc6dc5de1a9ae4.tar.xz git-de0db422782ddaf7754ac5b03fdc6dc5de1a9ae4.zip |
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); |