Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork939
Commit0eafe20
committed
Add test case as example of Git commit with invalid data
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.1 parente836e5c commit0eafe20
2 files changed
+13
-0
lines changedLines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + |
Lines changed: 7 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
306 | 306 |
| |
307 | 307 |
| |
308 | 308 |
| |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
309 | 316 |
| |
310 | 317 |
| |
311 | 318 |
| |
|
0 commit comments
Comments
(0)