mirror of
https://github.com/git/git.git
synced 2024-11-18 23:43:50 +01:00
a510bfaa8c
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>
17 lines
228 B
C
17 lines
228 B
C
#ifndef BLOB_H
|
|
#define BLOB_H
|
|
|
|
#include "object.h"
|
|
|
|
extern const char *blob_type;
|
|
|
|
struct blob {
|
|
struct object object;
|
|
};
|
|
|
|
struct blob *lookup_blob(unsigned char *sha1);
|
|
|
|
int parse_blob(struct blob *item);
|
|
|
|
#endif /* BLOB_H */
|