log: add exhaustive tests for pattern style options & config
[gitweb.git] / transport.c
index c83f3b71bebffee19daa88cfba76aa8d16938b2f..4d33138a7525310af3f9f73b699360f159516ad1 100644 (file)
@@ -1031,7 +1031,9 @@ int transport_push(struct transport *transport,
                                                          &ref->new_oid);
 
                        if (!push_unpushed_submodules(&commits,
-                                                     transport->remote->name,
+                                                     transport->remote,
+                                                     refspec, refspec_nr,
+                                                     transport->push_options,
                                                      pretend)) {
                                oid_array_clear(&commits);
                                die("Failed to push all needed submodules!");