summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorLibravatar Brandon Casey <drafnel@gmail.com>2008-11-09 23:59:57 -0600
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-11-12 10:29:22 -0800
commit0f4dc14ac4945448f7309964afeb879d20408e07 (patch)
tree386464b1ec3421a6ee934d373a405b4daae7326d /cache.h
parentt7700: demonstrate mishandling of loose objects in an alternate ODB (diff)
downloadtgif-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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cache.h b/cache.h
index 1a5740f589..7595c149ea 100644
--- a/cache.h
+++ b/cache.h
@@ -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);