Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
gitweb: Add snapshot to shortlog
[gitweb.git]
/
diffcore-rename.c
diff --git
a/diffcore-rename.c
b/diffcore-rename.c
index 0ec488a9033ea2d4514dab450d9e20581782ddbb..ef239012b65c901bba5eef598f62679fd288106e 100644
(file)
--- a/
diffcore-rename.c
+++ b/
diffcore-rename.c
@@
-101,7
+101,7
@@
static int is_exact_match(struct diff_filespec *src,
int contents_too)
{
if (src->sha1_valid && dst->sha1_valid &&
- !
memcmp(src->sha1, dst->sha1, 20
))
+ !
hashcmp(src->sha1, dst->sha1
))
return 1;
if (!contents_too)
return 0;