summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorBrandon Casey <drafnel@gmail.com>2008-11-10 05:59:57 (GMT)
committerJunio C Hamano <gitster@pobox.com>2008-11-12 18:29:22 (GMT)
commit0f4dc14ac4945448f7309964afeb879d20408e07 (patch)
tree386464b1ec3421a6ee934d373a405b4daae7326d /cache.h
parent3c3df429106770966397086b6d2bced452ec7383 (diff)
downloadgit-0f4dc14ac4945448f7309964afeb879d20408e07.zip
git-0f4dc14ac4945448f7309964afeb879d20408e07.tar.gz
git-0f4dc14ac4945448f7309964afeb879d20408e07.tar.bz2
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 1a5740f..7595c14 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);