Skip to content

lazygit appears to lock the currently-viewed file (at least on Windows) #1703

@fluffynuts

Description

@fluffynuts

Describe the bug
I've noticed that if I leave lazygit running and the file I'm working on happens to be selected in the changes pane, then I can't save to the file (Rider complains that it can't update the file). Changing the selected file or closing down lazygit resolves the issue. I think this has only started happening recently (read: over the last month or two - sorry, I was off for most of December!)

To Reproduce
Steps to reproduce the behavior:

  1. change a file, so it shows up in lazygit
  2. open lazygit, select the changed file
  3. alter & attempt to save the file from within IDE
  4. IDE shows error

Expected behavior
I expect that lazygit will not lock up files

Screenshots
If applicable, add screenshots to help explain your problem.
image

Desktop (please complete the following information):

  • OS: Windows
  • Lazygit Version 0.31.4

(this becomes a "close lazygit to continue" problem if there's only one file with diffs)

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