Skip to content

执行命令 git show --stat <commit> 有变动记录,但是执行ocr review --commit <commit>返回[ocr] 0 file(s) changed, reviewing #209

Description

@aaannnnngel

OpenCodeReview Version

v1.5.1

Operating System

macOS (Apple Silicon)

Installation Method

npm (global)

LLM Provider

Anthropic (Claude)

Bug Description

目前使用版本为 v1.5.1,在项目中执行 git show --stat 有变动记录,但是执行ocr review --commit 返回[ocr] 0 file(s) changed, reviewing

Steps to Reproduce

  1. 执行命令 ocr llm test 输出结果为 ✓ Connection test successful
  2. git show --stat 也有提交信息
  3. 执行ocr review --commit ,相同commitId 返回[ocr] 0 file(s) changed, reviewing

Expected Behavior

Logs / Error Output

[ocr] 0 file(s) changed, reviewing 0 in <my-project-file>
[ocr] No supported files changed. Skipping review.
[ocr] Summary: 0 file(s) reviewed, 0 comment(s), ~0 token(s) used, 0s elapsed
No comments generated. Looks good to me.

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions