-rw-r--r-- | git.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -275,12 +275,16 @@ struct object { unsigned type : TYPE_BITS; unsigned flags : FLAG_BITS; unsigned char sha1[20]; }; +/** Returns the object, having parsed it to find out what it is. **/ +struct object *parse_object(const unsigned char *sha1); + + /* * from git:tree.h */ struct tree { struct object object; |