Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
hashmap: convert sha1hash() to oidhash()
[gitweb.git]
/
diffcore-rename.c
diff --git
a/diffcore-rename.c
b/diffcore-rename.c
index 07bd34b63145e1dc179afebcc7af351c34c2ab07..1e50d491c12af19b91268451a5c88f82bd27e272 100644
(file)
--- a/
diffcore-rename.c
+++ b/
diffcore-rename.c
@@
-266,7
+266,7
@@
static unsigned int hash_filespec(struct repository *r,
hash_object_file(filespec->data, filespec->size, "blob",
&filespec->oid);
}
- return
sha1hash(filespec->oid.hash
);
+ return
oidhash(&filespec->oid
);
}
static int find_identical_files(struct hashmap *srcs,