You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Setting color.diff to "true" instead fixes this. I think GitPython should at least warn in this case (it did get garbage information back from a git command, which should _not_ be silent failure). git diff also contains an option to explicitly disable color (--no-color or --color=never); it would be even better if GitPython could pass these.
The text was updated successfully, but these errors were encountered:
If you like you can try the latest version of [email protected] .
The fix was rather straightforward, but testing is a bit difficult in gp's current state.
If one sets
color.diff
in ~/.gitconfig to "always", then GitPython will silently fail to produce diffs. It looks like this:Setting
color.diff
to "true" instead fixes this. I think GitPython should at least warn in this case (it did get garbage information back from a git command, which should _not_ be silent failure).git diff
also contains an option to explicitly disable color (--no-color
or--color=never
); it would be even better if GitPython could pass these.The text was updated successfully, but these errors were encountered: