git-fat icon indicating copy to clipboard operation
git-fat copied to clipboard

Problem with files have name include special characters

Open longk15t opened this issue 8 years ago • 6 comments

I have a png file with name as "một ca khúc.png", I was able to git fat push but when I git fat pull on another machine it throws below error image

How can I pull these files ?

longk15t avatar Jul 10 '17 08:07 longk15t

Does this work with plain Git? Git-fat attempts to be compatible with the choices made by Git.

jedbrown avatar Jul 10 '17 12:07 jedbrown

Does this work with plain Git? Git-fat attempts to be compatible with the choices made by Git.

Sorry for dump question, but what is plain Git ?

longk15t avatar Jul 11 '17 08:07 longk15t

Git, without git-fat.

jedbrown avatar Jul 11 '17 11:07 jedbrown

do you mean git pull ? it still work normally

longk15t avatar Jul 11 '17 12:07 longk15t

I mean add the file with special characters to a normal Git repository and make sure you can push and pull from whichever machine(s) are involved. If it works with normal Git, but not with git-fat, please create a reproducible test.

jedbrown avatar Jul 11 '17 12:07 jedbrown

ah, I can add that file to a normal git repo, I can push to github repo and other machine can pull that file, => it works with normal git.

This is the steps when I get this issue with git-fat: After git add that file, I add that file path in .gitattributes, then I git commit. After that, I run git fat push and it seems pushed that file to the storage. After pushing finishes, I push the code to github repo. After move to another machine, I fetch code and run git fat pull , it throws above error.

longk15t avatar Jul 11 '17 13:07 longk15t