summaryrefslogtreecommitdiff
path: root/transport.c
diff options
context:
space:
mode:
authorBrandon Williams <bmwill@google.com>2017-04-05 17:47:16 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-04-11 07:45:03 (GMT)
commit2a90556dde47f27e12a3f8adb1397fd05e5b6690 (patch)
tree97654f97664b31bd664cc8d7343da2f32f6005fd /transport.c
parent54cc8aca60e474e637e9d71b57ee2c6f1fb197e6 (diff)
downloadgit-2a90556dde47f27e12a3f8adb1397fd05e5b6690.zip
git-2a90556dde47f27e12a3f8adb1397fd05e5b6690.tar.gz
git-2a90556dde47f27e12a3f8adb1397fd05e5b6690.tar.bz2
push: propagate push-options with --recurse-submodules
Teach push --recurse-submodules to propagate push-options recursively to the pushes performed in the submodules. Signed-off-by: Brandon Williams <bmwill@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'transport.c')
-rw-r--r--transport.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/transport.c b/transport.c
index 417ed7f..64e60b6 100644
--- a/transport.c
+++ b/transport.c
@@ -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!");