set BootstrapCommand
output mode for submodules
Signed-off-by: onur-ozkan <work@onurozkan.dev>
This commit is contained in:
parent
3bb0c94eb6
commit
236f6ba261
@ -586,7 +586,11 @@ pub(crate) fn update_submodule(&self, relative_path: &Path) {
|
|||||||
.args(&["diff-index", "--quiet", "HEAD"])
|
.args(&["diff-index", "--quiet", "HEAD"])
|
||||||
.current_dir(&absolute_path),
|
.current_dir(&absolute_path),
|
||||||
)
|
)
|
||||||
.allow_failure(),
|
.allow_failure()
|
||||||
|
.output_mode(match self.is_verbose() {
|
||||||
|
true => OutputMode::PrintAll,
|
||||||
|
false => OutputMode::PrintOutput,
|
||||||
|
}),
|
||||||
);
|
);
|
||||||
if has_local_modifications {
|
if has_local_modifications {
|
||||||
self.run(Command::new("git").args(&["stash", "push"]).current_dir(&absolute_path));
|
self.run(Command::new("git").args(&["stash", "push"]).current_dir(&absolute_path));
|
||||||
|
Loading…
Reference in New Issue
Block a user