]> git.ipfire.org Git - thirdparty/git.git/blobdiff - tree-diff.c
convert "oidcmp() != 0" to "!oideq()"
[thirdparty/git.git] / tree-diff.c
index 553bc0e63ae37ada1c3e19ae748d1228561f00f6..425668e1e0b468d55e87dba69169acd53bba2c31 100644 (file)
@@ -491,7 +491,7 @@ static struct combine_diff_path *ll_diff_tree_paths(
                                                continue;
 
                                        /* diff(t,pi) != ΓΈ */
-                                       if (oidcmp(t.entry.oid, tp[i].entry.oid) ||
+                                       if (!oideq(t.entry.oid, tp[i].entry.oid) ||
                                            (t.entry.mode != tp[i].entry.mode))
                                                continue;