diff options
Diffstat (limited to 'object.h')
-rw-r--r-- | object.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -49,10 +49,10 @@ struct object { unsigned used : 1; unsigned type : TYPE_BITS; unsigned flags : FLAG_BITS; - unsigned char sha1[20]; + struct object_id oid; }; -#define get_object_hash(x) ((x).sha1) +#define get_object_hash(x) ((x).oid.hash) extern const char *typename(unsigned int type); extern int type_from_string_gently(const char *str, ssize_t, int gentle); |