checkout: print something when checking out paths
[gitweb.git] / builtin / rebase.c
index d8e4e0e3a9275dfd02c4b5c16ce8bd35e0dc1fd2..0ee06aa3631ee89761d570b433994cc77302742e 100644 (file)
@@ -689,7 +689,7 @@ static int can_fast_forward(struct commit *onto, struct object_id *head_oid,
        merge_bases = get_merge_bases(onto, head);
        if (merge_bases && !merge_bases->next) {
                oidcpy(merge_base, &merge_bases->item->object.oid);
-               res = !oidcmp(merge_base, &onto->object.oid);
+               res = oideq(merge_base, &onto->object.oid);
        } else {
                oidcpy(merge_base, &null_oid);
                res = 0;