Merge branch 'du/rev-parse-is-plumbing'
[gitweb.git] / builtin / diff.c
index 43bb71c1e0a124fdc7d90e053ce2b391c62d01b2..f0393bba23a7d95c67470508a6b63e4e41e8d46b 100644 (file)
@@ -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) {