mirror of
https://chromium.googlesource.com/chromium/tools/depot_tools.git
synced 2026-01-11 18:51:29 +00:00
update_depot_tools: Use git checkout -q origin/master
Bug: 996359 Change-Id: I7c87fd824103c91c1dd5b9b8975354732e5eb0a7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1765839 Auto-Submit: Edward Lesmes <ehmaldonado@chromium.org> Reviewed-by: Robbie Iannucci <iannucci@chromium.org> Commit-Queue: Robbie Iannucci <iannucci@chromium.org>
This commit is contained in:
@@ -101,7 +101,7 @@ function update_git_repo {
|
||||
|
||||
git fetch -q origin &> /dev/null
|
||||
local REBASE_TXT STATUS
|
||||
CHECKOUT_TXT=$(git checkout origin/master 2>&1)
|
||||
CHECKOUT_TXT=$(git checkout -q origin/master 2>&1)
|
||||
STATUS=$?
|
||||
if [[ $STATUS -ne 0 ]]; then
|
||||
echo "depot_tools update failed. Conflict in $base_dir" >&2
|
||||
|
||||
Reference in New Issue
Block a user