aboutsummaryrefslogtreecommitdiff
path: root/transport.c
diff options
context:
space:
mode:
Diffstat (limited to 'transport.c')
-rw-r--r--transport.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/transport.c b/transport.c
index c83f3b71b..4d33138a7 100644
--- a/transport.c
+++ b/transport.c
@@ -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!");