Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jk/oidhash'
[gitweb.git]
/
patch-ids.c
diff --git
a/patch-ids.c
b/patch-ids.c
index f70d3966542d0d5b9b0e749bbe4b61968a30bcac..e8c150d0c92a5f796011e811b750c783d1eee9db 100644
(file)
--- a/
patch-ids.c
+++ b/
patch-ids.c
@@
-83,7
+83,7
@@
static int init_patch_id_entry(struct patch_id *patch,
if (commit_patch_id(commit, &ids->diffopts, &header_only_patch_id, 1, 0))
return -1;
- hashmap_entry_init(patch,
sha1hash(header_only_patch_id.hash
));
+ hashmap_entry_init(patch,
oidhash(&header_only_patch_id
));
return 0;
}