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
If you execute g.format_patch(-1, sha, '--stdout', stdout_as_string=False), you will receive plain bytes without GitPython trying to decode it as UTF-8.
Please close this issue if it works for you.
Thanks
How to reproduce:
git.format_patch(-1, sha, '--stdout')
A sample of patch generated that raise this issue:
the offender is and are raising :
The text was updated successfully, but these errors were encountered: