Please describe the problem.
I cannot add a file that has an accent in its name. If I change the file name to not have accents, everything works.
What steps will reproduce the problem?
- create a file with an accent in its name
- "git annex status" shows the file is not checked in
- "git annex add" the file
- nothing happens, and "git annex status" still shows the file as not checked in
What version of git-annex are you using? On what operating system?
% brew info git-annex git-annex: stable 5.20151218 (bottled), HEAD
OS X 10.11.2
Please provide any additional information below.
# If you can, paste a complete transcript of the problem occurring here.
# If the problem is with the git-annex assistant, paste in .git/annex/daemon.log
[schmitta@charm-ecran:~/Documents/annex on master]
% git annex status
[schmitta@charm-ecran:~/Documents/annex on master]
% cat > é
foo
[schmitta@charm-ecran:~/Documents/annex on master]
% git annex status ✭
? é
[schmitta@charm-ecran:~/Documents/annex on master]
% git annex add é ✭
[schmitta@charm-ecran:~/Documents/annex on master]
% git annex status ✭
? é
# End of transcript or log.
Have you had any luck using git-annex before? (Sometimes we get tired of reading bug reports all day and a lil' positive end note does wonders)
Yes, git annex is great and I use it to store videos I want to watch later but that are too big to all be stored on my laptop.
I can't even type an e with an accent in it into the bash prompt on OSX. However, I copied over such a file, and had no problem adding it:
I also tried tab-completing a file named "testë" and that also works:
So, I can't reproduce your problem.
Here is what
locale
returns hereI think it may matter as I see that your accents are not displayed correctly when you "tab".
To type a é on OS X with qwerty, you can do
option-e
then e.I'm still having this issue, now with a folder. I added several files:
and they show as both added and untracked
It seems to be related to this: https://stackoverflow.com/questions/11968183/how-to-handle-accented-characters-in-file-names-in-git-on-mac-os-x-converted-to
I “solved“ the issue by doing a git add of the repository, but I'm wondering what options I need to use with git to avoid such issues in the future.