merge: convert checkout_fast_forward to struct object_id
Converting checkout_fast_forward is required to convert parse_tree_indirect. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
ace976b26c
commit
f06e90dac1
@ -1372,8 +1372,8 @@ int cmd_merge(int argc, const char **argv, const char *prefix)
|
||||
goto done;
|
||||
}
|
||||
|
||||
if (checkout_fast_forward(head_commit->object.oid.hash,
|
||||
commit->object.oid.hash,
|
||||
if (checkout_fast_forward(&head_commit->object.oid,
|
||||
&commit->object.oid,
|
||||
overwrite_ignore)) {
|
||||
ret = 1;
|
||||
goto done;
|
||||
|
Reference in New Issue
Block a user