untracked-cache: simplify parsing by dropping "next"
[gitweb.git] / diffcore-rename.c
index f85758b23346d220907a41a632bb0ba445a98dc7..07bd34b63145e1dc179afebcc7af351c34c2ab07 100644 (file)
@@ -290,7 +290,7 @@ static int find_identical_files(struct hashmap *srcs,
                struct diff_filespec *source = p->filespec;
 
                /* False hash collision? */
-               if (oidcmp(&source->oid, &target->oid))
+               if (!oideq(&source->oid, &target->oid))
                        continue;
                /* Non-regular files? If so, the modes must match! */
                if (!S_ISREG(source->mode) || !S_ISREG(target->mode)) {