Skip to content

Not handling the preview for copied files #175

Description

@aids12321

Description

When jj status shows a file is copied (prefixed by C), lazyjj fails to show a preview of the file.

Steps to Reproduce the Problem

  1. Create an empty repo.
  2. Commit one file with some text.
  3. Copy the file, and make minor changes to both the new and original.

Expected Behavior

When viewing the copied file preview in lazyjj, you should see the changes between the original file and it's current state.

Actual Behavior

The preview shows the following error:

Image

Versions

  • jj: 0.34.0
  • lazyjj: 0.5.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions