Merge branch 'jc/denoise-rm-to-resolve'
[gitweb.git] / pack-objects.c
index 00a5f6e0ec575af5a172f9771df52877eeaf664c..52560293b6268b792803e5b2c89b3a96840c0bf9 100644 (file)
@@ -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;