commit.c: add repo_get_commit_tree()
[gitweb.git] / builtin / rebase.c
index 868bcd1446d7723adab422a86d1f1914899d1f52..c0649093298f21f8739370aea96b8bd6af566e61 100644 (file)
@@ -1792,7 +1792,7 @@ int cmd_rebase(int argc, const char **argv, const char *prefix)
         * we just fast-forwarded.
         */
        strbuf_reset(&msg);
-       if (!oidcmp(&merge_base, &options.orig_head)) {
+       if (oideq(&merge_base, &options.orig_head)) {
                printf(_("Fast-forwarded %s to %s.\n"),
                        branch_name, options.onto_name);
                strbuf_addf(&msg, "rebase finished: %s onto %s",