Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
ls-remote: release memory instead of UNLEAK
[gitweb.git]
/
builtin
/
diff.c
diff --git
a/builtin/diff.c
b/builtin/diff.c
index 361a3c3ed38769f798b83933755fed84724ce43c..b3a8ba488ff824e2feda6b24df362f662fe5ddde 100644
(file)
--- a/
builtin/diff.c
+++ b/
builtin/diff.c
@@
-41,7
+41,7
@@
static void stuff_change(struct diff_options *opt,
struct diff_filespec *one, *two;
if (!is_null_oid(old_oid) && !is_null_oid(new_oid) &&
-
!oidcmp
(old_oid, new_oid) && (old_mode == new_mode))
+
oideq
(old_oid, new_oid) && (old_mode == new_mode))
return;
if (opt->flags.reverse_diff) {