From 1e9f7b9e9ef473305d10a26a48138bc6ad38ccf6 Mon Sep 17 00:00:00 2001 From: Jason Chang Date: Fri, 25 Aug 2023 10:31:04 -0700 Subject: [PATCH] project: Preserve stderr on upload A previous change captured stderr when uploading git projects. This change ensures stderr is sent to stderr. Bug: b/297097597 Change-Id: I8314e1017d2a42b7b655fe43ce3c312d397894ca Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/384134 Reviewed-by: Mike Frysinger Commit-Queue: Jason Chang Tested-by: Jason Chang Reviewed-by: Sam Saccone --- project.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/project.py b/project.py index bf4f9ae1..34e9046d 100644 --- a/project.py +++ b/project.py @@ -1182,9 +1182,7 @@ class Project(object): ref_spec = ref_spec + "%" + ",".join(opts) cmd.append(ref_spec) - GitCommand( - self, cmd, bare=True, capture_stderr=True, verify_command=True - ).Wait() + GitCommand(self, cmd, bare=True, verify_command=True).Wait() if not dryrun: msg = "posted to %s for %s" % (branch.remote.review, dest_branch)