Thread (2 messages) 2 messages, 2 authors, 2024-10-01

Re: git commit hangs when run concurrently on macos

From: Eric Sunshine <hidden>
Date: 2024-10-01 04:30:10

On Mon, Sep 30, 2024 at 4:58 PM Bennet Huber [off-list ref] wrote:
After running this, wait for output to subside, then run `jobs`.
On my machine, I usually see 5-10 hung "git commit" jobs.
quoted
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@coredump.intra.peff.net/T/ (local)

https://lore.kernel.org/git/20240509162219.GA1707955@coredump.intra.peff.net/T/ (local)

https://lore.kernel.org/git/pull.1802.git.1727577690390.gitgitgadget@gmail.com/T/ (local)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help