lazyjj icon indicating copy to clipboard operation
lazyjj copied to clipboard

Not handling the preview for copied files

Open aids12321 opened this issue 2 months ago • 1 comments

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

aids12321 avatar Oct 27 '25 06:10 aids12321

This bug was fixed with PR #109 from 2025-03-02 and released in lazyjj 0.6.0 Unfortunately the only person that can update lazyjj on crates.io is @Cretezy and he is busy elsewhere, so it is still on release 0.5.0.

I suggest you build from source in the mean time.

peso avatar Nov 20 '25 05:11 peso