From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dmitry Potapov Subject: Re: git on MacOSX and files with decomposed utf-8 file names Date: Wed, 23 Jan 2008 12:12:40 +0300 Message-ID: <20080123091240.GO14871@dpotapov.dyndns.org> References: <20080122133427.GB17804@mit.edu> <20080123000841.GA22704@mit.edu> <20080123013325.GB1320@mit.edu> <20080123064139.GC16297@glandium.org> <4697E0BA-7243-4C35-A384-0BD261EC21AF@sb.org> <20080123084345.GN14871@dpotapov.dyndns.org> <57518fd10801230102n4f430219p2701c7561f184569@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Kevin Ballard , Mike Hommey , Theodore Tso , Linus Torvalds , git@vger.kernel.org To: Jonathan del Strother X-From: git-owner@vger.kernel.org Wed Jan 23 10:14:17 2008 Return-path: Envelope-to: gcvg-git-2@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1JHbgS-0003dv-TK for gcvg-git-2@gmane.org; Wed, 23 Jan 2008 10:14:13 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751560AbYAWJNh convert rfc822-to-quoted-printable (ORCPT ); Wed, 23 Jan 2008 04:13:37 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751518AbYAWJNf (ORCPT ); Wed, 23 Jan 2008 04:13:35 -0500 Received: from smtp05.mtu.ru ([62.5.255.52]:59552 "EHLO smtp05.mtu.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751225AbYAWJNe (ORCPT ); Wed, 23 Jan 2008 04:13:34 -0500 Received: from smtp05.mtu.ru (localhost [127.0.0.1]) by smtp05.mtu.ru (Postfix) with ESMTP id 4312CA299DD; Wed, 23 Jan 2008 12:13:28 +0300 (MSK) Received: from dpotapov.dyndns.org (ppp85-141-188-241.pppoe.mtu-net.ru [85.141.188.241]) by smtp05.mtu.ru (Postfix) with ESMTP id F337FA2AB25; Wed, 23 Jan 2008 12:12:40 +0300 (MSK) Received: from dpotapov by dpotapov.dyndns.org with local (Exim 4.63) (envelope-from ) id 1JHbey-0007BR-7m; Wed, 23 Jan 2008 12:12:40 +0300 Content-Disposition: inline In-Reply-To: <57518fd10801230102n4f430219p2701c7561f184569@mail.gmail.com> User-Agent: Mutt/1.5.13 (2006-08-11) X-DCC-STREAM-Metrics: smtp05.mtu.ru 10001; Body=0 Fuz1=0 Fuz2=0 Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: On Wed, Jan 23, 2008 at 09:02:43AM +0000, Jonathan del Strother wrote: > On Jan 23, 2008 8:43 AM, Dmitry Potapov wrote: > > On Wed, Jan 23, 2008 at 03:15:02AM -0500, Kevin Ballard wrote: > > > > > > Entirely possible, though renormalizing file contents seems a bit= less > > > likely. I will point out that the text input system in OS X seems= to > > > default to producing NFC (at least, typing `echo 'M=E4rchen' | xx= d` in > > > the Terminal shows that the input string there is NFC). > > > > I wonder what happens if you do this: > > > > touch 'M=E4rchen' > > echo M*rchen | xxd -g1 > > > > Will that produce NFC or NFD? > > >=20 > 0000000: 4d 61 cc 88 72 63 68 65 6e 0a Ma..rchen. This is NFC! Did you do that on HFS+? If so, it means that shell on Mac also converts filenames to NFC when it reads them from the disk. Dmitry