Skip to content

Commit 5244f77

Browse files
committed
Untested fix for #172
See #172 for more information
1 parent c544101 commit 5244f77

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

git/diff.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@ def diff(self, other=Index, paths=None, create_patch=False, **kwargs):
7575
args.append("-M") # check for renames
7676
else:
7777
args.append("--raw")
78+
79+
# in any way, assure we don't see colored output,
80+
# fixes https://github.com/gitpython-developers/GitPython/issues/172
81+
args.append('--no-color')
7882

7983
if paths is not None and not isinstance(paths, (tuple,list)):
8084
paths = [ paths ]

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy