Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5244f77

Browse files
committed
Untested fix for#172
See#172 formore information
1 parentc544101 commit5244f77

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
ifpathsisnotNoneandnotisinstance(paths, (tuple,list)):
8084
paths= [paths ]

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp