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

fatal: no such path "256\260\345\275\225.txt" in master v2.5.0 #74

Open
subocn opened this issue Jan 20, 2017 · 2 comments
Open

fatal: no such path "256\260\345\275\225.txt" in master v2.5.0 #74

subocn opened this issue Jan 20, 2017 · 2 comments

Comments

@subocn
Copy link

subocn commented Jan 20, 2017

Hello, the problem can be reproduced by the filename with Chinese characters(项目记录.txt). I guess utf-8 encoding caused the problem. Thanks.

Error: Could not run 'git --git-dir='/.git' --work-tree='' blame --encoding=UTF-8 -p -M --date=local master -- '"src//\351\241\271\347\233\256\350\256\260\345\275\225.txt"'' => fatal: no such path "src//\351\241\271\347\233\256\350\256\260\345\275\225.txt" in master.
Try --help for help.

@sinri
Copy link

sinri commented Feb 28, 2017

It seems that non-ascii characters could not be correctly processed. Surely the filename is encoded by git.

@sinri
Copy link

sinri commented Feb 28, 2017

This issue could be solved by setting .gitconfig file making
core.quotepath=false

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