All of lore.kernel.org
 help / color / mirror / Atom feed
* ls-tree with non-english characters
@ 2011-07-26  9:38 Tajti Ákos
  2011-07-26 10:39 ` SZEDER Gábor
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Tajti Ákos @ 2011-07-26  9:38 UTC (permalink / raw)
  To: git

Dear List,

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?

Thanks in advance,
Ákos Tajti

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ls-tree with non-english characters
  2011-07-26  9:38 ls-tree with non-english characters Tajti Ákos
@ 2011-07-26 10:39 ` SZEDER Gábor
  2011-07-26 11:30   ` Tajti Ákos
  2011-07-26 11:33 ` Alexey Shumkin
       [not found] ` <20110726151739.51be3f55@ashu.dyn.rarus.ru>
  2 siblings, 1 reply; 5+ messages in thread
From: SZEDER Gábor @ 2011-07-26 10:39 UTC (permalink / raw)
  To: Tajti Ákos; +Cc: git

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ls-tree with non-english characters
  2011-07-26 10:39 ` SZEDER Gábor
@ 2011-07-26 11:30   ` Tajti Ákos
  0 siblings, 0 replies; 5+ messages in thread
From: Tajti Ákos @ 2011-07-26 11:30 UTC (permalink / raw)
  To: SZEDER Gábor; +Cc: git

Thanks, Gábor, you helped a lot!

Regards,
Ákos

2011.07.26. 12:39 keltezéssel, SZEDER Gábor írta:
> 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
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ls-tree with non-english characters
  2011-07-26  9:38 ls-tree with non-english characters Tajti Ákos
  2011-07-26 10:39 ` SZEDER Gábor
@ 2011-07-26 11:33 ` Alexey Shumkin
       [not found] ` <20110726151739.51be3f55@ashu.dyn.rarus.ru>
  2 siblings, 0 replies; 5+ messages in thread
From: Alexey Shumkin @ 2011-07-26 11:33 UTC (permalink / raw)
  To: git

Tajti Ákos <akos.tajti <at> intland.com> writes:

> 
> Dear List,
> 
> 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?
> 
> Thanks in advance,
> Ákos Tajti
> 

Russian Windows git users know this feature

git config [--global] core.quotepath false
resolves it (without -z)

and, yes, man git-config

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ls-tree with non-english characters
       [not found] ` <20110726151739.51be3f55@ashu.dyn.rarus.ru>
@ 2011-07-26 11:39   ` Tajti Ákos
  0 siblings, 0 replies; 5+ messages in thread
From: Tajti Ákos @ 2011-07-26 11:39 UTC (permalink / raw)
  To: Alexey Shumkin; +Cc: git

Dear Alaxey,

thanks, I didn't know about this configuration option.

Regards,
Ákos Tajti

2011.07.26. 13:17 keltezéssel, Alexey Shumkin írta:
> В Tue, 26 Jul 2011 11:38:59 +0200
> Tajti Ákos<akos.tajti@intland.com>  пишет:
>
>> Dear List,
>>
>> 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?
>>
>> Thanks in advance,
>> Ákos Tajti
> Russian Windows git users know this feature
>
> git config [--global] core.quotepath false
> resolves it
>
> and, yes, man git-config

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-07-26 11:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-26  9:38 ls-tree with non-english characters Tajti Ákos
2011-07-26 10:39 ` SZEDER Gábor
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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.