threads / discuss / 13653

native (cyrillic) filenames in git-diff and git-log (qgit and gitk)

Subject: native (cyrillic) filenames in git-diff and git-log (qgit and gitk)

## tl;dr

2 messages between May 24, 2008 and May 24, 2008.

replies: 1people: 2as markdown or json

Ilya Silvestrov· May 24, 2008, 14:45 UTC · lore
Hi, All!

I'am looking for possibility to work with native (cyrillic) filenames in git. The problem I struggle with is that I'm unable to view filenames in readable form in git-log and git-diff. They are in escaped form, like this:

diff --git "a/\321\200\321\203\321\201\321\201\320\272\320\270\320\271" 
"b/\321\200\321\203\321\201\321\201\320\272\320\270\320\271"
new file mode 100644
index 0000000..69b7ded
--- /dev/null
+++ "b/\321\200\321\203\321\201\321\201\320\272\320\270\320\271"
@@ -0,0 +1 @@
+balabala

I was asking about this situation on #git irc channel and the answer was 
that this is as bug.
I'am working with git version 1.5.5.1

Silvestrov Ilya
Teemu Likonen· May 24, 2008, 15:37 UTC · re: Ilya Silvestrov · lore

Re: native (cyrillic) filenames in git-diff and git-log (qgit and gitk)

Ilya Silvestrov wrote (2008-05-24 21:45 +0700):
Show 6 quoted lines
> I'am looking for possibility to work with native (cyrillic) filenames
> in  git. The problem I struggle with is that I'm unable to view
> filenames in  readable form in git-log and git-diff. They are in
> escaped form, like this:
> diff --git "a/\321\200\321\203\321\201\321\201\320\272\320\270\320\271"  
> "b/\321\200\321\203\321\201\321\201\320\272\320\270\320\271"

Yes, extremely ugly. I believe setting core.quotepath to false will help:

  $ git config --global core.quotepath false
I wonder why is this not the default?

← back to recent threads