diff options
author | Brandon Casey <drafnel@gmail.com> | 2008-11-09 23:59:57 -0600 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-11-12 10:29:22 -0800 |
commit | 0f4dc14ac4945448f7309964afeb879d20408e07 (patch) | |
tree | 386464b1ec3421a6ee934d373a405b4daae7326d /cache.h | |
parent | t7700: demonstrate mishandling of loose objects in an alternate ODB (diff) | |
download | tgif-0f4dc14ac4945448f7309964afeb879d20408e07.tar.xz |
sha1_file.c: split has_loose_object() into local and non-local counterparts
Signed-off-by: Brandon Casey <drafnel@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'cache.h')
-rw-r--r-- | cache.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -565,6 +565,7 @@ extern int move_temp_to_file(const char *tmpfile, const char *filename); extern int has_sha1_pack(const unsigned char *sha1, const char **ignore); extern int has_sha1_file(const unsigned char *sha1); +extern int has_loose_object_nonlocal(const unsigned char *sha1); extern int has_pack_file(const unsigned char *sha1); extern int has_pack_index(const unsigned char *sha1); |