lazyjj
lazyjj copied to clipboard
Not handling the preview for copied files
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
- Create an empty repo.
- Commit one file with some text.
- 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:
Versions
- jj: 0.34.0
- lazyjj: 0.5.0
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.