From: "Torsten Bögershausen" <tboegi@web.de>
To: Robin Rosenberg <robin.rosenberg.lists@dewire.com>
Cc: "Torsten Bögershausen" <tboegi@web.de>, git@vger.kernel.org
Subject: Re: [RFC] i18n.pathencoding
Date: Sat, 08 Sep 2012 12:09:14 +0200 [thread overview]
Message-ID: <504B194A.6050009@web.de> (raw)
In-Reply-To: <5043E4B4.9050801@dewire.com>
On 03.09.12 00:59, Robin Rosenberg wrote:
> Torsten Bögershausen skrev 2012-09-01 08.11:> Allow path names to be encoded in UTF-8 in the repository
>> and checkout out as e.g. ISO-8859-1 in the working tree.
>
> Ack for attempting this.
>
> Did it myself if 2007, but times weren't ripe then, I guess.
>
>> +i18n.pathEncoding::
>> + This option is only used by some implementations of git.
>> + When "git init" sets core.supportspathencoding to true,
>> + i18n.pathEncoding can be set to re-encode path names when
>> + a working tree is checked out.
>> + Path names may be e.g. encoded in ISO-8859-1 and are stored as
>> + UTF-8 encoded in the repository.
>> + When not set, the encoding of path names is the same in working tree
>> + and the repository.
>
> "If set, then core.precomposeunicode is ignored on Mac OS X."
Thanks for comments,
I will integrate them (but don't expect that too soon ;-).
Before that I want to find & fix the performance issues, and the
t1450 breakage asks for my attention again.
However, the combination of i18n.pathEncoding and core.precomposeunicode under Mac OS X
needs to be clarified.
Mac OS X only allows unicode (an "Ä" encoded in ISO-8859-1 gives a single byte),
and the HFS+ filesystem will list it as %C4.
So the i18.pathencoding does not make sence under Mac OS X, and should be ignored.
It is not ignored today, since the characters use in t3911 are choosen to be both valid UTF-8
and ISO-8859-1 code points/characters, so that the feature can be tested on Mac OS X.
next prev parent reply other threads:[~2012-09-08 10:10 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-01 6:11 [RFC] i18n.pathencoding Torsten Bögershausen
2012-09-02 22:59 ` Robin Rosenberg
2012-09-08 10:09 ` Torsten Bögershausen [this message]
2012-09-04 12:23 ` Nguyen Thai Ngoc Duy
2012-09-04 17:19 ` Junio C Hamano
2012-09-04 19:51 ` Torsten Bögershausen
2012-09-04 20:12 ` Junio C Hamano
2012-09-05 19:52 ` Torsten Bögershausen
2012-09-05 11:11 ` Nguyen Thai Ngoc Duy
2012-09-05 19:49 ` Torsten Bögershausen
2012-09-06 3:24 ` Junio C Hamano
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=504B194A.6050009@web.de \
--to=tboegi@web.de \
--cc=git@vger.kernel.org \
--cc=robin.rosenberg.lists@dewire.com \
/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).