From a510bfaa8c001413f363e0d0b9c6cf15dbcbb7b3 Mon Sep 17 00:00:00 2001 From: Daniel Barkalow Date: Thu, 28 Apr 2005 07:46:33 -0700 Subject: [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 Signed-off-by: Linus Torvalds --- blob.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'blob.h') 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 */ -- cgit v1.2.3