git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "SZEDER Gábor" <szeder@ira.uka.de>
To: "Tajti Ákos" <akos.tajti@intland.com>
Cc: git@vger.kernel.org
Subject: Re: ls-tree with non-english characters
Date: Tue, 26 Jul 2011 12:39:27 +0200	[thread overview]
Message-ID: <20110726103927.GA31625@goldbirke> (raw)
In-Reply-To: <4E2E8B33.6070900@intland.com>

Szervusz Ákos,


On Tue, Jul 26, 2011 at 11:38:59AM +0200, Tajti Ákos wrote:
> I tried to use git ls-tree but on blob names containing non-english
> characters I get a strange output. For example:
> 
> ákosű -> \303\241kos\305\261
> 
> There's no mention of this format in the manual of ls-tree. Could you please
> help me on resolving this cryptic string to the original form?

Try with the -z option, it seems to do more than the documentation
suggests:

  $ git ls-tree HEAD
100644 blob e69de29bb2d1d6434b8b29ae775ad8c2e48c5391	"\303\241rv\303\255zt\305\261r\305\221"
  $ git ls-tree -z HEAD
100644 blob e69de29bb2d1d6434b8b29ae775ad8c2e48c5391	árvíztűrő


Gábor

  reply	other threads:[~2011-07-26 10:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-26  9:38 ls-tree with non-english characters Tajti Ákos
2011-07-26 10:39 ` SZEDER Gábor [this message]
2011-07-26 11:30   ` Tajti Ákos
2011-07-26 11:33 ` Alexey Shumkin
     [not found] ` <20110726151739.51be3f55@ashu.dyn.rarus.ru>
2011-07-26 11:39   ` Tajti Ákos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110726103927.GA31625@goldbirke \
    --to=szeder@ira.uka.de \
    --cc=akos.tajti@intland.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).