leandromac / git-osx-installer

Automatically exported from code.google.com/p/git-osx-installer
0 stars 0 forks source link

Handling of international characters in file names seems to be broken #43

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. Create a repo:

mkdir test
cd test
git init

2. Create a file with an international char in the file name:

echo Hello > ö.txt

3. Add the file to the index

git add ö.txt

4. Commit

git commit -m "whatever"

What is the expected output? What do you see instead?

I expect the file to be committed, but instead I get:

# On branch master
#
# Initial commit
#
# Untracked files:
#   (use "git add <file>..." to include in what will be committed)
#
#   "o\314\210.txt"
nothing added to commit but untracked files present (use "git add" to track)

No matter what i try, I can not commit the file. I can add it OK, but when
committing, GIT can not find it.

What version of the product are you using? On what operating system?

git version 1.6.5.2
Mac OS X 10.6.2
MacBook Pro, 2.66 GHz Intel Core 2 Duo

Please provide any additional information below.

Original issue reported on code.google.com by greddbul...@gmail.com on 6 Dec 2009 at 12:55

GoogleCodeExporter commented 8 years ago
Subversion seems to have similar problems on Mac, see for instance:

http://subversion.tigris.org/issues/show_bug.cgi?id=2464

Original comment by greddbul...@gmail.com on 6 Dec 2009 at 2:17

GoogleCodeExporter commented 8 years ago
I don't think this is a bug with the installer. Have you tried installing git 
via
macports?

Original comment by timchar...@gmail.com on 9 Dec 2009 at 11:35

GoogleCodeExporter commented 8 years ago
Yes, I tried that, same problem there. You're probably right in that this is 
not a
problem with the installer. I think its a problem in Git itself or the Mac port 
of
Git. Any idea where I could report it? Macports?

Original comment by greddbul...@gmail.com on 12 Dec 2009 at 9:40

GoogleCodeExporter commented 8 years ago
I believe your best bet would be to contact the git mailing list. Head on over 
to 
git-scm.com to find the mailing list.

Best of luck :-)

Tim

Original comment by timchar...@gmail.com on 13 Dec 2009 at 12:19

GoogleCodeExporter commented 8 years ago

Original comment by timchar...@gmail.com on 13 Dec 2009 at 12:19

GoogleCodeExporter commented 8 years ago
If anyone else looks for a solution to this problem I have created a workaround 
that
can be found here:

http://nfcfs.sourceforge.net/

It is way to trick applications that the Mac OS file system works the same as 
Windows
or Linux when it comes to Unicode encoding of file names. Still in beta but 
works
fine for me at least.

Original comment by greddbul...@gmail.com on 31 Dec 2009 at 11:53