]> git.ipfire.org Git - thirdparty/git.git/blobdiff - diffcore-break.c
hex: introduce functions to print arbitrary hashes
[thirdparty/git.git] / diffcore-break.c
index c64359f489c87910b9d41756918dacda49276004..e11fcfdb391425ac9efaea829d4756891dcb941e 100644 (file)
@@ -58,7 +58,7 @@ static int should_break(struct diff_filespec *src,
        }
 
        if (src->oid_valid && dst->oid_valid &&
-           !oidcmp(&src->oid, &dst->oid))
+           oideq(&src->oid, &dst->oid))
                return 0; /* they are the same */
 
        if (diff_populate_filespec(src, 0) || diff_populate_filespec(dst, 0))