[PATCH] don't load and decompress objects twice with parse_object()
[git.git] / blob.h
diff --git a/blob.h b/blob.h
index 4afad0f..8004c83 100644 (file)
--- a/blob.h
+++ b/blob.h
@@ -11,6 +11,8 @@ struct blob {
 
 struct blob *lookup_blob(unsigned char *sha1);
 
+int parse_blob_buffer(struct blob *item, void *buffer, unsigned long size);
+
 int parse_blob(struct blob *item);
 
 #endif /* BLOB_H */