Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
gitview.txt: improve asciidoc markup
[gitweb.git]
/
diff-lib.c
diff --git
a/diff-lib.c
b/diff-lib.c
index 116b5a9d6834c9517ccc2202510b37a1e1d863a5..3e4b3b96b71925974eee5f1f691158c314722011 100644
(file)
--- a/
diff-lib.c
+++ b/
diff-lib.c
@@
-215,7
+215,7
@@
static int show_modified(struct rev_info *revs,
}
oldmode = old->ce_mode;
- if (mode == oldmode && !
memcmp(sha1, old->sha1, 20
) &&
+ if (mode == oldmode && !
hashcmp(sha1, old->sha1
) &&
!revs->diffopt.find_copies_harder)
return 0;