一直报git show失败的错误
OpenCodeReview Version
v1.9.5
Operating System
Windows
Installation Method
npm (global)
LLM Provider
Other OpenAI-compatible endpoint
Bug Description
ocr review命令正常 ocr review --commit 0b335be72cb7e342c115ff3ffadbe741a4715377 时一致报git show 失败。 但是我在同一个窗口直接运行:git show 0b335be72cb7e342c115ff3ffadbe741a4715377 又是正常的。 唯一一点是我使用的windows,然后语言是日语的,等于是日语系统,跟这个有关系吗?
Steps to Reproduce
我直接在我的项目根目录,cmd运行官网的ocr review --commit 0b335be72cb7e342c115ff3ffadbe741a4715377命令,就一直报错
Expected Behavior
如果是日语系统的问题,希望也能正常使用
Logs / Error Output
Additional Context
No response
From the current code path, --commit runs git show with --diff-merges=first-parent and --end-of-options, so this looks more like a Git version compatibility issue than a Japanese Windows locale issue. Please share git --version, the complete ocr review error including stderr, and the output of the following command.
git -c core.quotepath=false show --no-ext-diff --no-textconv --find-renames --src-prefix=a/ --dst-prefix=b/ --no-color --diff-merges=first-parent -U3 --end-of-options <commit>
The project currently requires Git >= 2.41. If this command reports an unknown option, upgrading Git should explain the behavior. If Git meets that requirement, the full error will help narrow down the Windows-specific cause.