-
-
Notifications
You must be signed in to change notification settings - Fork 568
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crashes when trying to show log in a git repo with chinese commit messages on Windows 10 #188
Comments
@slaughtering Thanks for reporting this, to be able to reproduce this it would be super helpful to have the causing commit message, are you able to share that one? |
Yep, and here is one : The commit message :
|
Describe the bug
Crashes when trying to show log in a git repo with chinese commit messages on Windows 10
To Reproduce
Steps to reproduce the behavior:
panic: PanicInfo { payload: Any, message: Some(byte index 118 is not a char boundary; it is inside '里' (bytes 117..120)
C:\repos\someproject>中文提交信息(some chinese commit message)`), location: Location { file: "/rustc/c7087fe00d2ba919df1d813c040a5d47e43b0fe7\src\libcore\str\mod.rs", line: 1920, col: 47 } }
trace:
0: <unknown>
1: <unknown>
2: <unknown>
3: <unknown>
4: <unknown>
5: <unknown>
6: <unknown>
7: <unknown>
8: <unknown>
9: <unknown>
10: <unknown>
11: <unknown>
12: <unknown>
13: <unknown>
14: git_libgit2_version
15: BaseThreadInitThunk
16: RtlUserThreadStart
Context (please complete the following information):
Windows 10 1909
]0.8.1
]N/A
]Additional context
The same problem in pwsh 7.0.2 and cmd.exe, gitui.exe binary from https://github.com/extrawurst/gitui/releases/tag/v0.8.1
The text was updated successfully, but these errors were encountered: