setup_unpack_trees_porcelain: take the whole options struct as parameter
[gitweb.git] / builtin / checkout.c
index 00cd1645cfe291b53cb1206a8a74570a976bce07..f6caac104750a154d8934d570b3e099c2f5f27fc 100644 (file)
@@ -373,7 +373,7 @@ static int merge_working_tree(struct checkout_opts *opts,
                topts.src_index = &the_index;
                topts.dst_index = &the_index;
 
-               setup_unpack_trees_porcelain(topts.msgs, "checkout");
+               setup_unpack_trees_porcelain(&topts, "checkout");
 
                refresh_cache(REFRESH_QUIET);