diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2014-07-17 08:34:48 +0200 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2014-07-17 08:34:48 +0200 |
commit | 5244f7751c10865df94980817cfbe99b7933d4d6 (patch) | |
tree | f13d5dde4bc35d07343910b84a3df2168d3d0012 /git/diff.py | |
parent | c544101eed30d5656746080204f53a2563b3d535 (diff) | |
download | gitpython-5244f7751c10865df94980817cfbe99b7933d4d6.tar.gz |
Untested fix for #172
See https://github.com/gitpython-developers/GitPython/issues/172 for
more information
Diffstat (limited to 'git/diff.py')
-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 ] |