am: improve author-script error reporting
[gitweb.git] / builtin / fast-export.c
index 9bd8a14b57b8e1b014503dffbcffa27e7242d67a..74f3bf5c96974a5f76c8b50c26915b582e780bb7 100644 (file)
@@ -384,7 +384,7 @@ static void show_filemodify(struct diff_queue_struct *q,
                                string_list_insert(changed, spec->path);
                                putchar('\n');
 
-                               if (!oidcmp(&ospec->oid, &spec->oid) &&
+                               if (oideq(&ospec->oid, &spec->oid) &&
                                    ospec->mode == spec->mode)
                                        break;
                        }