Skip to content

Commit 24c9962

Browse files
committed
feat(vcs): cascade verbosity for updating
verbosity argument passed down to update_submodules callee, so that the supression of command outputs is properly cascaded. Implements: #13329
1 parent 2570161 commit 24c9962

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/pip/_internal/vcs/git.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ def update(
371371
)
372372
self.run_command(cmd_args, cwd=dest)
373373
#: update submodules
374-
self.update_submodules(dest)
374+
self.update_submodules(dest, verbosity=verbosity)
375375

376376
@classmethod
377377
def get_remote_url(cls, location: str) -> str:

src/pip/_internal/vcs/versioncontrol.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ def obtain(self, dest: str, url: HiddenText, verbosity: int) -> None:
518518
self.repo_name,
519519
rev_display,
520520
)
521-
self.update(dest, url, rev_options)
521+
self.update(dest, url, rev_options, verbosity=verbosity)
522522
else:
523523
logger.info("Skipping because already up-to-date.")
524524
return

0 commit comments

Comments
 (0)