Skip to content

Support reviewing diffs in non-committed repositories #48

Closed

Description

@PavloPoliakov

Imagine I have a repository which I did not commit yet.
Right now the tool shows that there are no changes.
Image

But the changes are present, I guess it can show complete files 🤷

Regards,

Activity

  1. umputun commented on Apr 7, 2026

    @umputun
    Owner

    two fixes pushed:

    1. the mktemp error (Operation not permitted) is a macOS sandbox restriction on /tmp - fixed in ff308b3, the launch script now uses $TMPDIR instead
    2. the plugin's ref detection script didn't handle "no commits yet" repos - fixed in ce35fb0, it now falls back to --all-files mode to browse staged files

    pls update the plugin and try again. if you git added your files before running revdiff, they should show up now.

  2. sanchesfree commented on Apr 7, 2026

    @sanchesfree
    Contributor

    Hey! This is exactly what I ran into as well — untracked files in a fresh repo were invisible. I just opened a PR (#55) that adds untracked file support: press u to toggle them in the file tree, and s to stage/unstage right from the TUI. Might be worth a look!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions