On Mon, Sep 30, 2024 at 4:58 PM Bennet Huber <bennet.huber@xxxxxxxxx> wrote: > After running this, wait for output to subside, then run `jobs`. > On my machine, I usually see 5-10 hung "git commit" jobs. > > > 3:39:04.020533 run-command.c:758 trace: start_command: /opt/homebrew/opt/git/libexec/git-core/git fsmonitor--daemon run --detach --ipc-threads=8 > > Setting `USE_FS_MONITOR=false` in the code above consistently results > in no hung "git commit" commands, which leads me to suspect the > problem has to do with the fsmonitor feature. It's also a decent, > though difficult to discover, workaround. I don't use fsmonitor and haven't particularly been following the issue, but there are some active threads on the mailing list regarding fsmonitor hanging on macOS. Perhaps they are relevant to your case. https://lore.kernel.org/git/20240930194600.GA1805534@xxxxxxxxxxxxxxxxxxxxxxx/T/ https://lore.kernel.org/git/20240509162219.GA1707955@xxxxxxxxxxxxxxxxxxxxxxx/T/ https://lore.kernel.org/git/pull.1802.git.1727577690390.gitgitgadget@xxxxxxxxx/T/