There's a problem using git with files having cyrillic 'й' in their name, git just can't track them.
uname: Darwin 12.2.0 Darwin Kernel Version 12.2.0: Sat Aug 25 00:48:52 PDT 2012; root:xnu-2050.18.24~1/RELEASE_X86_64 x86_64
git version: 1.7.12.1 (from macports)
Steps to reproduce:
- git init
- touch test_й
- git status (should be "untracked files present")
- git add test_й
- git status
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# "test_\320\270\314\206"
nothing added to commit but untracked files present (use "git add" to track)
Could this be helped somehow?
On Fri, 5 Oct 2012 14:13:49 +0400
Муковников Михаил [off-list ref] wrote:
There's a problem using git with files having cyrillic 'й' in their
name, git just can't track them.
uname: Darwin 12.2.0 Darwin Kernel Version 12.2.0: Sat Aug 25
00:48:52 PDT 2012; root:xnu-2050.18.24~1/RELEASE_X86_64 x86_64 git
version: 1.7.12.1 (from macports)
Steps to reproduce:
- git init
- touch test_й
- git status (should be "untracked files present")
- git add test_й
- git status
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# "test_\320\270\314\206"
nothing added to commit but untracked files present (use "git add" to
track)
Could this be helped somehow?--
What "this"? If you mean displaying escapes for UTF-8 bytes
representing that letter "й", then try setting core.quotepath to false
for this repository and see if that helps.
More info can be found in the git-config manual page.
Hey, Konstantin!
Thanks for your reply. My bad, I described the problem not very well. I don't mind displaying escapes etc. (core.quotepath just makes "\320\270\314\206" be "й" and that's it), the problem is that git cannot track files with cyrillic "й" in their name. I created a file, added it but git writes it's still untracked, and it seems there's no way to track it.
05.10.2012, в 14:32, Konstantin Khomoutov [off-list ref] написал(а):
On Fri, 5 Oct 2012 14:13:49 +0400
Муковников Михаил [off-list ref] wrote:
quoted
There's a problem using git with files having cyrillic 'й' in their
name, git just can't track them.
uname: Darwin 12.2.0 Darwin Kernel Version 12.2.0: Sat Aug 25
00:48:52 PDT 2012; root:xnu-2050.18.24~1/RELEASE_X86_64 x86_64 git
version: 1.7.12.1 (from macports)
Steps to reproduce:
- git init
- touch test_й
- git status (should be "untracked files present")
- git add test_й
- git status
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# "test_\320\270\314\206"
nothing added to commit but untracked files present (use "git add" to
track)
Could this be helped somehow?--
What "this"? If you mean displaying escapes for UTF-8 bytes
representing that letter "й", then try setting core.quotepath to false
for this repository and see if that helps.
More info can be found in the git-config manual page.