Skip to content

Corrupted file paths #4635

Open
Open
@ilan-schemoul

Description

@ilan-schemoul

Describe the bug
File paths often get "corrupted" (usually after a large change, such as big checkout of many files)

To Reproduce
Not a single way I can reproduce consistently.
Last example was "edit" on a previous commit. Git checkout of a hundred of files (via git cli)
file paths are corrupt (safe-ea/src instead of geaosafe-ea/src)

Expected behavior
no corruption

Screenshots
Image

Version info:
3.11 geosafe-ea ⟩ lazygit --version
commit=aa331e52b8a0e5da03c59ee6b9bd1d2a9073618c, build date=2025-06-07T02:32:24Z, build source=binaryRelease, vers
ion=0.52.0, os=linux, arch=amd64, git version=2.43.0
3.11 geosafe-ea ⟩ git --version
git version 2.43.0

Additional context
I hit this bug randomly for a year (since I start using lazygit). I upgrade often, same random bug.

Note: please try updating to the latest version or manually building the latest master to see if the issue still occurs.
Logs when I try to type space on corrupt file
development.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions