Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Git Bash error: fsmonitor_ipc__send_query

I would just like to ask what could be the meaning of this error?

error: fsmonitor_ipc__send_query: unspecified error on '.git/fsmonitor--daemon.ipc'

I'm trying to find something similar to this case but for some reason, all I see is another line error which is very similar but isn't explained why. I encountered this while I'm using Git Bash. I'm trying to utilize the Bash terminal as I want to have a different window separated when working with VS Code. Hope this become a reference for the others.

like image 810
Shironekomaru Avatar asked Aug 24 '21 23:08

Shironekomaru


People also ask

How does fsmonitor handle changes in the working directory?

If fsmonitor daemon is watching a super repo and a file is modified within the working directory of a submodule, it will report the change (as happening against the super repo). However, the client will properly ignore these extra events, so performance may be affected but it will not cause an incorrect result.

How to update both Git Bash and Git on Windows?

Alternatively, as others have noted, you can also update Git Bash and Git (by definition, both are always updated at the same time) from the Git Bash command line, via: If you type git update, git kindly reminds you that the command has been updated to git update-git-for-windows: Please use git update-git-for-windows instead.

What is the use of git daemon?

This daemon is a long running process used to watch a single working directory and maintain a list of the recently changed files and directories. Performance of commands such as git status can be increased if they just ask for a summary of changes to the working directory and can avoid scanning the disk.

Can fsmonitor detect changes in a submodule?

The fsmonitor daemon does not currently know about submodules and does not know to filter out file system events that happen within a submodule. If fsmonitor daemon is watching a super repo and a file is modified within the working directory of a submodule, it will report the change (as happening against the super repo).


1 Answers

I, like others have mentioned, received this error, and my current Git version is 2.32.0.windows.1. I've been running this version for months and today was the first time I encountered the error.

I killed all running git.exe processes on my machine and the error went away.

Note that when you upgrade to a new version of Git, one of the things you have to do is stop all running processes of Git. I mention this because it might not be the case that this is a bug specific to 2.32 which is fixed in version 2.33, but instead, maybe it's simply the action of killing the running Git processes during the install that fixes the issue. I suppose a reboot may have fixed it as well.

like image 166
TTT Avatar answered Oct 03 '22 21:10

TTT