jedbrown / git-fat

Simple way to handle fat files without committing them to git, supports synchronization using rsync
BSD 2-Clause "Simplified" License
622 stars 136 forks source link

Problem with files have name include special characters #77

Open longk15t opened 7 years ago

longk15t commented 7 years ago

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 ?

jedbrown commented 7 years ago

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

longk15t commented 7 years ago

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 ?

jedbrown commented 7 years ago

Git, without git-fat.

longk15t commented 7 years ago

do you mean git pull ? it still work normally

jedbrown commented 7 years ago

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.

longk15t commented 7 years ago

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.