summaryrefslogtreecommitdiff
path: root/blob.h
diff options
context:
space:
mode:
authorDaniel Barkalow <barkalow@iabervon.org>2005-04-28 07:46:33 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-28 07:46:33 -0700
commita510bfaa8c001413f363e0d0b9c6cf15dbcbb7b3 (patch)
treebcb43fecd82fa6f851e266b7e3873973068d51f3 /blob.h
parent3a663fd9842aaa9e232ab43a811d11f1d7f0b7bc (diff)
downloadgit-a510bfaa8c001413f363e0d0b9c6cf15dbcbb7b3.tar.gz
[PATCH] Mark blobs as parsed when they're actually parsed
This eliminates the special case for blobs versus other types of objects. Now the scheme is entirely regular and I won't introduce stupid bugs. (And fsck-cache doesn't have to do the do-nothing parse) Signed-Off-By: Daniel Barkalow <barkalow@iabervon.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'blob.h')
-rw-r--r--blob.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/blob.h b/blob.h
index 5cbf6d65ee..4afad0f067 100644
--- a/blob.h
+++ b/blob.h
@@ -11,4 +11,6 @@ struct blob {
struct blob *lookup_blob(unsigned char *sha1);
+int parse_blob(struct blob *item);
+
#endif /* BLOB_H */