Re: ls-tree with non-english characters

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]