neogit icon indicating copy to clipboard operation
neogit copied to clipboard

Quitting status window after push makes buffer readonly

Open Linuus opened this issue 10 months ago • 0 comments

Description

If I commit, then push and immediately press q my original buffer (the one I had open when opening the git status) shows and then the git console buffer shows up and my original code buffer is marked as readonly (modifiable is off).

If I after push, wait until it's done pushing this issue does not happen.

I'm on Neogit commit 12f78aa

Neovim version

NVIM v0.10.1 Build type: Release LuaJIT 2.1.1720049189 Run "nvim -V1 -v" for more info

Operating system and version

macOS 15.2

Steps to reproduce

  1. Open git status
  2. Commit
  3. Push and immediately press q
  4. Original buffer is now set to modifiable off

I was not able to reproduce with the minimal config in a small repo where the push was like very fast. Maybe it only happens in larger repos where it takes some time to push?

Expected behavior

My original buffer is not affected at all.

Actual behavior

My original buffer is being set to modifiable off

Minimal config

-

Linuus avatar Mar 05 '25 08:03 Linuus