FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Untested fix for #172 · gitpython-developers/GitPython@5244f77 · GitHub

Repository navigation

Commit 5244f77

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

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎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)

Back | FazBrowse Home | New Git URL