Skip to content
Discussion options

You must be logged in to vote

The README is not wrong: Git 2.41 is OCR's supported minimum. OCR does not currently enforce that version at startup, so Git 2.17 can appear to work on this particular staged-workspace path.

In v1.9.2, workspace review first runs git diff ... --end-of-options HEAD --. Git 2.17 rejects that command; OCR then falls back to git diff --staged -- whenever the first command errors or returns no output. Because your workflow file is staged, that fallback still produces a diff and the review completes. I reproduced this behavior with Git 2.17.0.

That success does not establish full compatibility. On 2.17, the fallback can omit unstaged tracked changes. Range review has no staged fallback, and com…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@wu21-web
Comment options

Answer selected by wu21-web
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants