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

Add test case as example of Git commit with invalid data#456

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Byron merged 2 commits intomasterfromfix-for-invalid-data-in-commits
May 30, 2016

Conversation

nvie
Copy link
Contributor

This is a real commit from the microjs.com open source project, seemicrojs/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, seemicrojs/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 bythe �  (\x80) char.
@nvienvieforce-pushed thefix-for-invalid-data-in-commits branch fromf0ef7af todb9a8d5CompareMay 30, 2016 14:32
Previously, GitPython chokes on this while decoding.  Rather thanchoking, instead accept the error and replace the invalid bytes by the� (\x80) char.
@nvienvieforce-pushed thefix-for-invalid-data-in-commits branch fromdb9a8d5 to79c99c0CompareMay 30, 2016 14:37
@ByronByron added this to the v2.0.4 - Bugfixes milestoneMay 30, 2016
@ByronByron merged commit79fdaf3 intomasterMay 30, 2016
@Byron
Copy link
Member

Good catch ! Thanks for the PR !

@nvienvie deleted the fix-for-invalid-data-in-commits branchMay 30, 2016 17:11
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Development

Successfully merging this pull request may close these issues.

2 participants
@nvie@Byron

[8]ページ先頭

©2009-2025 Movatter.jp