Skip to content

Conversation

@nvie
Copy link
Contributor

@nvienvie commented May 30, 2016

This is a real commit from the microjs.com open source project, see microjs/microjs.com@7e8457c, which is declared to be encoded in UTF-8, but contains invalid bytes.

This makes GitPython choke on it while decoding. Rather than choking, this should instead accept the error and replace the invalid bytes by the � (\x80) char.

This is a real commit from the microjs.com open source project, see microjs/microjs.com@7e8457c, which is declared to be encoded in UTF-8, but contains invalid bytes. This makes GitPython choke on it while decoding. Rather than choking, this should instead accept the error and replace the invalid bytes by the � (\x80) char.
@nvienvieforce-pushed the fix-for-invalid-data-in-commits branch from f0ef7af to db9a8d5CompareMay 30, 2016 14:32
Previously, GitPython chokes on this while decoding. Rather than choking, instead accept the error and replace the invalid bytes by the � (\x80) char.
@nvienvieforce-pushed the fix-for-invalid-data-in-commits branch from db9a8d5 to 79c99c0CompareMay 30, 2016 14:37
@ByronByron added this to the v2.0.4 - Bugfixes milestone May 30, 2016
@ByronByron merged commit 79fdaf3 into masterMay 30, 2016
@Byron
Copy link
Member

Good catch ! Thanks for the PR !

@nvienvie deleted the fix-for-invalid-data-in-commits branch May 30, 2016 17:11
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

3 participants

@nvie@Byron