Skip to content

Commit a56771a

Browse files
stefanbellergitster
authored andcommitted
builtin/pull: respect verbosity settings in submodules
In a6d7eb2 (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 <[email protected]> Signed-off-by: Stefan Beller <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent e8906a9 commit a56771a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

builtin/pull.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -553,6 +553,7 @@ static int rebase_submodules(void)
553553
cp.no_stdin = 1;
554554
argv_array_pushl(&cp.args, "submodule", "update",
555555
"--recursive", "--rebase", NULL);
556+
argv_push_verbosity(&cp.args);
556557

557558
return run_command(&cp);
558559
}
@@ -565,6 +566,7 @@ static int update_submodules(void)
565566
cp.no_stdin = 1;
566567
argv_array_pushl(&cp.args, "submodule", "update",
567568
"--recursive", "--checkout", NULL);
569+
argv_push_verbosity(&cp.args);
568570

569571
return run_command(&cp);
570572
}

0 commit comments

Comments
 (0)