Re: ls-tree with non-english characters
- From
SZEDER Gábor <szeder@ira.uka.de>
- Date
- Jul 26, 2011, 10:39 UTC
- Message-ID
- <20110726103927.GA31625@goldbirke>
- In-Reply-To
- <4E2E8B33.6070900@intland.com>
Szervusz Ákos,
On Tue, Jul 26, 2011 at 11:38:59AM +0200, Tajti Ákos wrote:
Show 7 quoted lines
> 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