Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'di/readme-markup-fix'
[gitweb.git]
/
pack-objects.c
diff --git
a/pack-objects.c
b/pack-objects.c
index 00a5f6e0ec575af5a172f9771df52877eeaf664c..52560293b6268b792803e5b2c89b3a96840c0bf9 100644
(file)
--- a/
pack-objects.c
+++ b/
pack-objects.c
@@
-11,7
+11,7
@@
static uint32_t locate_object_entry_hash(struct packing_data *pdata,
{
uint32_t i, mask = (pdata->index_size - 1);
- i =
sha1hash(oid->hash
) & mask;
+ i =
oidhash(oid
) & mask;
while (pdata->index[i] > 0) {
uint32_t pos = pdata->index[i] - 1;