Skip to contentSkip to conversation

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

PATCH Ilya Silvestrov 2 participants 2 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

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:

\321\200\321\203\321\201\321\201\320\272\320\270\320\271 new file +1 -0
new file mode 100644
index 0000000..69b7ded
@@ -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

#1 lore raw

Ilya Silvestrov wrote (2008-05-24 21:45 +0700):

Quoted 6 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:

(quoted diff) renamed from \321\200\321\203\321\201\321\201\320\272\320\270\320\271 +0 -0

"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?