cannot reproduce

This commit is contained in:
Joey Hess 2015-07-02 14:26:30 -04:00
parent 1f35141aff
commit a8fcd68144

View file

@ -0,0 +1,34 @@
[[!comment format=mdwn
username="joey"
subject="""comment 1"""
date="2015-07-02T18:18:22Z"
content="""
It seems like you have some kind of system misconfiguration,
resulting in setlocale(3) failing. Probably `LC_ALL` is set to a locale
that is not available or is somehow broken.
I tested by setting metadata to a completely bogus unicode value, and it
all works ok here:
joey@darkstar:~/tmp/annex>git annex metadata -s person=$(perl -le "print chr(0x99999999)") you
Wide character in print at -e line 1.
metadata you
lastchanged=2015-07-02@18-23-34
person=<3D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
person-lastchanged=2015-07-02@18-23-34
ok
(recording state in git...)
joey@darkstar:~/tmp/annex>git annex metadata you
metadata you
lastchanged=2015-07-02@18-23-34
person=<3D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
person-lastchanged=2015-07-02@18-23-34
ok
joey@darkstar:~/tmp/annex>git annex view person='*'
view (searching...)
Switched to branch 'views/person=_'
ok
joey@darkstar:~/tmp/annex#person=_>ls
Gödel/ \376\202\231\246\231\246\231/
"""]]