-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Closed
Copy link
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
When using the file history filter feature (lazygit -f filename), commits that occurred before the file was renamed are not displayed in the patch panel. This makes it impossible to view the complete history of a file that has been renamed at some point.
To Reproduce
Steps to reproduce the behavior:
- Create a new file foo.txt and commit it
- Rename foo.txt to bar.txt and commit the rename
- Run lazygit -f bar.txt to filter commit history by this file
- Navigate to the first commit in the list (the one where foo.txt was created)
- The Patch panel shows blank content instead of displaying the initial file creation
Version info:
commit=5f809809dda06c98e51743ac8c19af6a26a5984b, build date=2025-04-14T08:30:35Z, build source=binaryRelease, version=0.49.0, os=darwin, arch=arm64, git version=2.32.1 (Apple Git-133)
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working