push: propagate push-options with --recurse-submodules
[gitweb.git] / transport.c
index 417ed7f19f5fcec5fdf9828749e1e40b207a44e7..64e60b6353903f60dfe64f7730cce3aac2611f13 100644 (file)
@@ -1031,6 +1031,7 @@ int transport_push(struct transport *transport,
 
                        if (!push_unpushed_submodules(&commits,
                                                      transport->remote->name,
+                                                     transport->push_options,
                                                      pretend)) {
                                sha1_array_clear(&commits);
                                die("Failed to push all needed submodules!");