diff options
Diffstat (limited to 'decorate.c')
-rw-r--r-- | decorate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/decorate.c b/decorate.c index b2aac90c26..270eb25197 100644 --- a/decorate.c +++ b/decorate.c @@ -8,7 +8,7 @@ static unsigned int hash_obj(const struct object *obj, unsigned int n) { - return sha1hash(obj->sha1) % n; + return sha1hash(obj->oid.hash) % n; } static void *insert_decoration(struct decoration *n, const struct object *base, void *decoration) |