Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Williams <bmwill@google.com>2017-04-05 20:47:16 +0300
committerJunio C Hamano <gitster@pobox.com>2017-04-11 10:45:03 +0300
commit2a90556dde47f27e12a3f8adb1397fd05e5b6690 (patch)
tree97654f97664b31bd664cc8d7343da2f32f6005fd /transport.c
parent54cc8aca60e474e637e9d71b57ee2c6f1fb197e6 (diff)
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 417ed7f19f5..64e60b63539 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!");