-
Notifications
You must be signed in to change notification settings - Fork 29.2k
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
Git add of file with unicode name fails in Git panel #41246
Comments
Had a similar issue in #47677 which was closed as duplicate. Looking forward to the fix to this one. |
@neoeinstein This is working in version 1.28.2. |
@neoeinstein Do you confirm this? |
I can confirm that this appears to be working now with 1.28.2. Thanks! |
I can confirm you can add files with unicode names, but:
When the unicode characters are in folder names, it still fails. Just in case it's relevant, I'm on 1.34.0, macOS 10.14.5. |
This is still happening for me in 1.46.1 on macOS 10.15.5
As you can see I have Cyrillic folder names. |
@pepelsbey You have a different issue. Please update to Git 2.27 and it will be fixed. |
@joaomoreno I have Git 2.27 installed on my system. I believe that’s the one VS Code uses.
But I still have this problem. |
What exact keyboard combination do you press to write |
I have the same problem with Japanese path name and git version 2.29.2. |
It works for me now as expected in 1.51.1 on macOS 11.0.1 with git 2.29.2
|
Just tested and it works:
EDIT 1:
EDIT 2: EDIT 3: EDIT 4: |
Look up dead keys. After YEARS suffering with them I could finally disable them on Windows. (Using Microsoft Keyboard Layout Creator.) Sorry if my reply is off topic. 😅 |
Unfortunately it’s still broken in 1.59.1. Here’s another way to reproduce:
And you’ll see that repository doesn’t exist: But it works fine with и letter for the folder name: |
Unfortunately I cannot reproduce that. |
I could and can confirm. Using mkdir it works as it should. As soon as I rename it on Finder, it breaks again. It doesn't seem to be a problem with git, as I can |
Yes, that’s the point. When GUI fails to stage files I open VS Code’s terminal to do it via CLI using the same git binary. |
I have the same issue now. Have anyone solved this? |
I have exactly the same issue with éèà letters, in French. But this is come from git. not from Vscode. |
Hello everyone, idk why this issue is not fixed, but @cosmicbeamer - THANK YOU!System:
Problem:
Solution:
P.S. Maybe u should restart vs code if it's not working P.S.S. It works for me, but it may not work for you, just try) |
Same issue. This has been going on since 2018, how is it possible that there is no working solution? |
This is still relevant as of 02/2024. Would there be a way to look at/change which commands are run in the background when the Git GUI is used? |
@johannes-langer, could you please share the steps that you have followed to reproduce this? I have spent some time trying to create folders/files using Finder, VS code, terminal and I am unable to reproduce the issue using the latest version of VS Code Insiders and |
I can still reproduce the issue as mentioned on #41246 (comment) gabriel@Gabriels-MacBook-Pro й % sw_vers |
@MDKi, could you please share a recording (https://gifcap.dev) with the repro steps? Thanks! |
Steps to Reproduce:
defaŭlto.html
.fatal: pathspec 'c:\…\defaulto.html' did not match any files
Git log reports that it ran the following command: "git add -A -- c:\…\defaŭlto.html"
Running the same command from the git command line in Powershell works without a problem, but also fails from the normal Windows command prompt. Reviewing StackOverflow and other locations, it appears that this is a limitation of the Windows command prompt, but I thought I would document it here since it has a knock-on effect for the Git panel.
Reproduces without extensions: Yes
The text was updated successfully, but these errors were encountered: