[PATCH] builtin/pull: respect verbosity settings in submodules
- From
Stefan Beller <sbeller@google.com>
- Date
- Jan 25, 2018, 19:08 UTC
- Message-ID
- <20180125190817.145041-1-sbeller@google.com>
- In-Reply-To
- <robbat2-20180120T054223-685328376Z@orbis-terrarum.net>
In a6d7eb2c7a (pull: optionally rebase submodules (remote submodule changes only), 2017-06-23), we taught Git how to rebase submodules in a pull. However we missed to pass on the verbosity settings.
Reported-by: Robin H. Johnson <robbat2@gentoo.org> Signed-off-by: Stefan Beller <sbeller@google.com> --- builtin/pull.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/builtin/pull.c b/builtin/pull.c index 511dbbe0f6..1876271af9 100644 --- a/builtin/pull.c +++ b/builtin/pull.c @@ -574,6 +574,7 @@ static int rebase_submodules(void) cp.no_stdin = 1; argv_array_pushl(&cp.args, "submodule", "update", "--recursive", "--rebase", NULL); + argv_push_verbosity(&cp.args); return run_command(&cp); } @@ -586,6 +587,7 @@ static int update_submodules(void) cp.no_stdin = 1; argv_array_pushl(&cp.args, "submodule", "update", "--recursive", "--checkout", NULL); + argv_push_verbosity(&cp.args); return run_command(&cp); }
-- 2.16.0.rc1.238.g530d649a79-goog