From mboxrd@z Thu Jan 1 00:00:00 1970 From: Linus Torvalds Subject: Re: git on MacOSX and files with decomposed utf-8 file names Date: Fri, 18 Jan 2008 09:11:47 -0800 (PST) Message-ID: References: <478E1FED.5010801@web.de> <65026F2B-5CE8-4238-A9AB-D3545D336B41@sb.org> <200801162251.54219.jnareb@gmail.com> <1574A90A-8C45-46AD-9402-34AE6F582B3F@sb.org> <7652B11D-9B9F-45EA-9465-8294B701FE7C@sb.org> <8AC4CC86-A711-483D-9F9C-5F8497006A1D@sb.org> <478F99E7.1050503@web.de> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Mark Junker , Pedro Melo , "git@vger.kernel.org" To: Peter Karlsson X-From: git-owner@vger.kernel.org Fri Jan 18 18:13:05 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 1JFulx-00071Q-Bg for gcvg-git-2@gmane.org; Fri, 18 Jan 2008 18:12:53 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760293AbYARRMJ (ORCPT ); Fri, 18 Jan 2008 12:12:09 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1759854AbYARRMI (ORCPT ); Fri, 18 Jan 2008 12:12:08 -0500 Received: from smtp2.linux-foundation.org ([207.189.120.14]:37526 "EHLO smtp2.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758742AbYARRMH (ORCPT ); Fri, 18 Jan 2008 12:12:07 -0500 Received: from imap1.linux-foundation.org (imap1.linux-foundation.org [207.189.120.55]) by smtp2.linux-foundation.org (8.13.5.20060308/8.13.5/Debian-3ubuntu1.1) with ESMTP id m0IHBmkU023527 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 18 Jan 2008 09:11:49 -0800 Received: from localhost (localhost [127.0.0.1]) by imap1.linux-foundation.org (8.13.5.20060308/8.13.5/Debian-3ubuntu1.1) with ESMTP id m0IHBlDP027491; Fri, 18 Jan 2008 09:11:48 -0800 In-Reply-To: User-Agent: Alpine 1.00 (LFD 882 2007-12-20) X-Spam-Status: No, hits=-2.717 required=5 tests=AWL,BAYES_00 X-Spam-Checker-Version: SpamAssassin 3.1.0-osdl_revision__1.47__ X-MIMEDefang-Filter: lf$Revision: 1.188 $ X-Scanned-By: MIMEDefang 2.53 on 207.189.120.14 Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: On Fri, 18 Jan 2008, Peter Karlsson wrote: > > But they are not different strings, they are canonically equivalent as > far as Unicode is concerned. Fuck me with a spoon. Why the hell cannot people see that "equivalent" and "same" are two totally different meanings. > You cannot do a binary comparison of text to see if two strings are > equivalent. .. and this is relevant how? They are different strings. Not the same. Equivalence doesn't matter. Equivalence is *evil*. Equivalence is what gives us case-insensitive filesystems ("because the names are equivalent"). Filesystems don't *want* equivalence. They want a much stronger exactness guarantee. Exactly because sometimes the differences matter. Linus