On Wed, Mar 13, 2019 at 04:48:36PM -0400, Sergio Durigan Junior wrote: > Huh, I do have some of the files opened in Emacs! They're in > background, but indeed, now that you mentioned I remember that Emacs > keeps track of changes and invokes "git status" sometimes. Next time I > see the bug, I'll try closing the files and see if it happens again. If Emacs (I guess maybe magit?) is running "git status" behind the scenes, you might benefit from teaching it to use "git --no-optional-locks status" instead. See the section "BACKGROUND REFRESH" in "git help status" for more discussion. -Peff