diff options
-rw-r--r-- | git/diff.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/git/diff.py b/git/diff.py index 8a4819ab..e90fc1cf 100644 --- a/git/diff.py +++ b/git/diff.py @@ -75,6 +75,10 @@ class Diffable(object): args.append("-M") # check for renames else: args.append("--raw") + + # in any way, assure we don't see colored output, + # fixes https://github.com/gitpython-developers/GitPython/issues/172 + args.append('--no-color') if paths is not None and not isinstance(paths, (tuple,list)): paths = [ paths ] |