diff options
author | Josip Sokcevic <sokcevic@chromium.org> | 2024-09-26 21:55:10 +0000 |
---|---|---|
committer | LUCI <gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2024-09-26 22:10:36 +0000 |
commit | 621de7ed127f2adb39ed1f0747383ac2afc4d075 (patch) | |
tree | d5bdd5a66932a3aa93193d01291e5ae580c3a873 /tests/test_repo_trace.py | |
parent | d7ebdf56be6095338ea37bd4b52533c5bd7774e7 (diff) | |
download | git-repo-621de7ed127f2adb39ed1f0747383ac2afc4d075.tar.gz |
Disable git terminal prompt during fetch/clone
git fetch operation may prompt user to enter username and password.
This won't be visible to user when repo sync operation since stdout and
stderr are redirected. If that happens, user may think repo is doing
work and likely won't realize it's stuck on user's input.
This patch disables prompt for clone and fetch operations, and repo will
fail fast.
R=gavinmak@google.com
Bug: b/368644181
Change-Id: I2efa88ae66067587a00678eda155d861034b9127
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/438001
Reviewed-by: Nasser Grainawi <nasser.grainawi@linaro.org>
Tested-by: Josip Sokcevic <sokcevic@google.com>
Commit-Queue: Josip Sokcevic <sokcevic@google.com>
Reviewed-by: Gavin Mak <gavinmak@google.com>
Diffstat (limited to 'tests/test_repo_trace.py')
0 files changed, 0 insertions, 0 deletions