Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
general improvements
[gitweb.git]
/
khash.h
diff --git
a/khash.h
b/khash.h
index f911d2b0050581c0d926f819d21091fdd3e806b1..21c2095216cb5dcb8be372d82443a8dd1c1435c8 100644
(file)
--- a/
khash.h
+++ b/
khash.h
@@
-326,7
+326,7
@@
static const double __ac_HASH_UPPER = 0.77;
static inline unsigned int oidhash_by_value(struct object_id oid)
{
- return
sha1hash(oid.hash
);
+ return
oidhash(&oid
);
}
static inline int oideq_by_value(struct object_id a, struct object_id b)