ls-tree with non-english characters
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
Szervusz Ákos,
Quoted 7 lines · Tajti Ákos
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
Thanks, Gábor, you helped a lot!
Regards,
Ákos
2011.07.26. 12:39 keltezéssel, SZEDER Gábor írta:
Quoted 22 lines
Szervusz Ákos,
Quoted 7 lines · Tajti Ákos
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
A message that is not in the archive (sent off-list or not yet received): [email protected]
Dear Alaxey,
thanks, I didn't know about this configuration option.
Regards,
Ákos Tajti
2011.07.26. 13:17 keltezéssel, Alexey Shumkin írta:
Quoted 21 lines
В Tue, 26 Jul 2011 11:38:59 +0200
Tajti Ákos<[email protected]> пишет:Quoted 5 lines
Dear List,
I tried to use git ls-tree but on blob names containing non-english characters I get a strange output. For example:
Quoted 7 lines
á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 TajtiRussian Windows git users know this feature
git config [--global] core.quotepath false
resolves itand, yes, man git-config
Quoted 6 lines · 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:
Quoted 8 lines
á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