Index: git_cl.py
|
diff --git a/git_cl.py b/git_cl.py
|
index 1dcb1fe8ca7bcc1bb0033997cd035a157f2b9e0c..0ac0f861c70875fef8e888316e18051cd873f25b 100755
|
--- a/git_cl.py
|
+++ b/git_cl.py
|
@@ -1169,8 +1169,12 @@ def CMDstatus(parser, args):
|
b, i, color = output.get()
|
tmp[b] = (i, color)
|
issue, color = tmp.pop(branch)
|
+ reset = Fore.RESET
|
+ if not sys.stdout.isatty():
|
+ color = ''
|
+ reset = ''
|
print ' %*s: %s%s%s' % (
|
- alignment, ShortBranchName(branch), color, issue, Fore.RESET)
|
+ alignment, ShortBranchName(branch), color, issue, reset)
|
|
cl = Changelist()
|
print
|
|