aboutsummaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2005-07-03 13:06:36 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-03 13:06:36 -0700
commitdade09c2269ec2117df085e8a99efcabccf08c53 (patch)
tree19a955699fed7c7608bbe1c3176720655e9f9fd7 /cache.h
parentc33303839c76c41c9f85e5bd3f7b04fab60c38ca (diff)
downloadgit-dade09c2269ec2117df085e8a99efcabccf08c53.tar.gz
git-dade09c2269ec2117df085e8a99efcabccf08c53.tar.xz
Add "has_sha1_pack()" function to query whether the object is available in a pack
We'll want this for incremental packing.
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 1c0345b5d..bf589a804 100644
--- a/cache.h
+++ b/cache.h
@@ -176,6 +176,7 @@ extern int read_tree(void *buffer, unsigned long size, int stage);
extern int write_sha1_from_fd(const unsigned char *sha1, int fd);
+extern int has_sha1_pack(const unsigned char *sha1);
extern int has_sha1_file(const unsigned char *sha1);
/* Convert to/from hex/sha1 representation */