Skip to content
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

find: Failed to save initial working directory: No such file or directory #5087

Open
oicu opened this issue Jul 31, 2024 · 3 comments
Open

Comments

@oicu
Copy link

oicu commented Jul 31, 2024

git-bash: 2.45/2.46
mintty 3.7.4

Open Git bash here

If git-bash encoding is set to GBK and the current directory of bash is in Chinese, the find command reports an error:

git@windows /d/中文
$ find .
find: Failed to save initial working directory: No such file or directory

$ locale
LANG=en_US.GBK
LC_CTYPE="en_US.GBK"
LC_NUMERIC="en_US.GBK"
LC_TIME="en_US.GBK"
LC_COLLATE="en_US.GBK"
LC_MONETARY="en_US.GBK"
LC_MESSAGES="en_US.GBK"
LC_ALL=
@dscho
Copy link
Member

dscho commented Aug 6, 2024

Does this also happen with MSYS2, or even with Cygwin?

@oicu
Copy link
Author

oicu commented Aug 7, 2024

Does this also happen with MSYS2, or even with Cygwin?

git-bash 2.30 doesn't have that problem. I haven't used MSYS2 or Cygwin yet.

@dscho
Copy link
Member

dscho commented Aug 7, 2024

I haven't used MSYS2 or Cygwin yet.

Please test, then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants