-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error: fsmonitor--daemon failed to start (Unicode chars in workdir path) #3262
Comments
I redownloaded git and it seems like the option "Add a Git Bash Profile to Windows Terminal" is the problem |
Thank you for your report. Just to clarify: you reinstalled Git for Windows, left "Add a Git Bash Profile to Windows Terminal" unchecked and now it works? |
It worked fine when the option "add a git bash profile to windows terminal: was left unchecked. |
Hmm. This is really strange. The only thing that does is to write an XML somewhere, I believe. It should not influence the built-in file system watcher. Could you try once more, to make sure that it was that checkbox? |
Could you? |
Translated by Google:I encountered the same problem, Git displayed
|
I have to use |
Can you run |
The outcome is the same. It still says error: fsmonitor--daemon failed to start |
Also, it seems like there is no 'e' for the word 'the' in the setup explanation for the 'Override the default branch name for new repositories'. |
I cannot reproduce this. Could you run this while Process Monitor is running and then investigate what the precise error is? It would be toward the end of that process' life time.
I don't understand. Are you referring to this message? https://github.com/git-for-windows/build-extra/blob/995f6ac120c46ae506d633cd5c6e49c56e28ea5a/installer/install.iss#L2020 If so, please do open a Pull Request to fix the typo. |
Before that, because it might give us better insights, could you run |
I tried I also tried process monitor and when I run and I could not find any errors appearing on the screen of process monitor |
You need to provide a fully-scoped path, such as |
|
This error message stems from here: https://github.com/git-for-windows/git/blob/v2.32.0.windows.1/builtin/fsmonitor--daemon.c#L1245 It means that something in the The only two ways this can fail (at least that I can see) are if either the worktree or the git dir cannot be watched, i.e. that The only way that can fail (again, as far as I can see) is if the file handle cannot be created: https://github.com/git-for-windows/git/blob/v2.32.0.windows.1/compat/fsmonitor/fsmonitor-fs-listen-win32.c#L115-L123 Now, I have a couple of observations there:
|
I tried git commands in paths without any non-ASCII characters and it worked. I think the problem is solved. Do you have any way for users to work on trees with non-ASCII characters? |
I have the same problem. @dscho I think, probably correct. |
@HyunseungLee-Travis @y-k-m I just opened a Pull Request to fix this, and kicked off a [EDIT] Please do test 😄 |
The artifacts are ready: Please do test. |
@dscho It worked! |
@y-k-m Awesome, thank you for testing and sharing the results here! |
A bug was fixed where the experimental FSMonitor had [a problem with worktrees whose paths had non-ASCII characters](git-for-windows/git#3262). Signed-off-by: Johannes Schindelin <[email protected]>
I updated the title with the cause of the problem to help when skimming issues. |
Setup
defaults?
to the issue you're seeing?
Nothing
Details
** Bash and CMD**
Minimal, Complete, and Verifiable example
this will help us understand the issue.
I expected them to work like add files, committing, and more.
It returned an error: fsmonitor--daemon failed to start
The text was updated successfully, but these errors were encountered: