general improvements
[gitweb.git] / diffcore-break.c
index b580d92154497cec67913143d719a3ac79bf2096..875aefd3febf46771cc56c1f2b9f26318cfc732b 100644 (file)
@@ -59,7 +59,7 @@ static int should_break(struct repository *r,
        }
 
        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(r, src, 0) ||