diff options
author | Brandon Williams <bmwill@google.com> | 2017-04-05 10:47:19 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-04-11 00:45:26 -0700 |
commit | 06bf4ad1db92c32af38e16d9b7f928edbd647780 (patch) | |
tree | 2633f6ac10cfc7ceaa58972990b7d3a82afa5d0d /t/t5407-post-rewrite-hook.sh | |
parent | submodule--helper: add push-check subcommand (diff) | |
download | tgif-06bf4ad1db92c32af38e16d9b7f928edbd647780.tar.xz |
push: propagate remote and refspec with --recurse-submodules
Teach "push --recurse-submodules" to propagate, if given a name as remote, the
provided remote and refspec recursively to the pushes performed in the
submodules. The push will therefore only succeed if all submodules have a
remote with such a name configured.
Note that "push --recurse-submodules" with a path or URL as remote will not
propagate the remote or refspec and instead use the default remote and refspec
configured in the submodule, preserving the current behavior.
Signed-off-by: Brandon Williams <bmwill@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5407-post-rewrite-hook.sh')
0 files changed, 0 insertions, 0 deletions