From 0213e4b2d80793e359f52b809fbb9dc34ebdde46 Mon Sep 17 00:00:00 2001 From: Josip Sokcevic Date: Wed, 30 Mar 2022 17:45:56 +0000 Subject: [PATCH] Print updating depot_tools in stderr stdout print statement may interfere with automated tooling. Instead, this prints the warning to stderr. See: https://crrev.com/c/3556588 R=gavinmak@google.com Change-Id: I3fb72b7ab4afe42cb83ea5e506292f3e6e5ea8d5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3561445 Auto-Submit: Josip Sokcevic Reviewed-by: Gavin Mak Commit-Queue: Gavin Mak --- update_depot_tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update_depot_tools b/update_depot_tools index d7cd78b32..ce95e8857 100755 --- a/update_depot_tools +++ b/update_depot_tools @@ -125,7 +125,7 @@ function update_git_repo { # Update git checkouts. if [ "X$DEPOT_TOOLS_UPDATE" != "X0" ]; then - echo "Updating depot_tools..." + echo "Updating depot_tools..." 1>&2 if [ -e "$base_dir/.git" ]; then cd "$base_dir" update_git_repo