Skip to content
Discussion options

You must be logged in to vote

@XueWuQianKun Hi, git show failed: exit status 128 错误通常由以下原因之一引起:

Hi, the git show failed: exit status 128 error is typically caused by one of the following:

1. Git 版本过旧(最可能) / Git version too old (most likely)

OCR 在调用 git show 时使用了 --end-of-options 参数,该参数需要 Git 2.24+(2019年底发布)。如果你的 Git 版本低于此,命令会直接报 exit status 128 —— 即使普通的 git show / git log 命令能正常工作(因为它们不使用 --end-of-options)。

OCR uses the --end-of-options flag when calling git show, which requires Git 2.24+ (released late 2019). If your Git version is older, the command will fail with exit status 128 — even though normal git show / git log commands work fine (since they don't use --end-of-options).

请检查你的 Git 版本 / Please check your Git ve…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@XueWuQianKun
Comment options

@lizhengfeng101
Comment options

@lizhengfeng101
Comment options

Answer selected by lizhengfeng101
@XueWuQianKun
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants