summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Xcode/repo.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/scripts/Xcode/repo.py')
-rw-r--r--lldb/scripts/Xcode/repo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/scripts/Xcode/repo.py b/lldb/scripts/Xcode/repo.py
index d6e1aeef873..c1e5fe339d2 100644
--- a/lldb/scripts/Xcode/repo.py
+++ b/lldb/scripts/Xcode/repo.py
@@ -11,7 +11,7 @@ def identifier():
except:
pass
try:
- git_remote_and_branch = subprocess.check_output(["git", "rev-parse", "--abbrev-ref", "--symbolic-full-name", "@{u}"]).rstrip()
+ git_remote_and_branch = subprocess.check_output(["git", "rev-parse", "--abbrev-ref", "--symbolic-full-name", "@{u}"], stderr=subprocess.STDOUT).rstrip()
git_remote = git_remote_and_branch.split("/")[0]
git_branch = "/".join(git_remote_and_branch.split("/")[1:])
git_url = subprocess.check_output(["git", "remote", "get-url", git_remote]).rstrip()
OpenPOWER on IntegriCloud