Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'js/clean-report-too-long-a-path'
[gitweb.git]
/
decorate.c
diff --git
a/decorate.c
b/decorate.c
index de31331fa425429cf3c05078761b9bcf52fb0a45..a605b1b5f4ac7844693919ca8afee3a699d1b424 100644
(file)
--- 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->oid.hash
) % n;
+ return
oidhash(&obj->oid
) % n;
}
static void *insert_decoration(struct decoration *n, const struct object *base, void *decoration)