Skip to content

[Bug]: diff displayed often shows the whole file being changed #83

@bartman

Description

@bartman

Bug Description

I'm running on Linux. I edit my files with neovim. My files are ASCII text.

When I ask grok to make edits, sometimes I get to review short concise diffs.

Just as often, it will show me that the whole file has changed (100s or 1000s of lines), even through it's making precise changes.

After the path is applied, when I run a git diff on the file, I'll correctly see that only a few lines have changed.

This makes the diff displayed very unhelpful.

Steps to reproduce

Get grok to make edits to a large file. Tell it to implement functions or refactor. Half the time it will show the whole file has changed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions