From mboxrd@z Thu Jan 1 00:00:00 1970 From: Junio C Hamano Subject: Re: [PATCH v2 04/12] worktree.c: mark current worktree Date: Thu, 21 Apr 2016 08:42:54 -0700 Message-ID: References: <1460897965-486-1-git-send-email-pclouds@gmail.com> <1461158693-21289-1-git-send-email-pclouds@gmail.com> <1461158693-21289-5-git-send-email-pclouds@gmail.com> <20160421151355.GA6200@sigill.intra.peff.net> <20160421154058.GA9525@sigill.intra.peff.net> Mime-Version: 1.0 Content-Type: text/plain Cc: Eric Sunshine , Duy Nguyen , Git List , Reto =?utf-8?Q?Hab?= =?utf-8?Q?l=C3=BCtzel?= , Mike Rappazzo To: Jeff King X-From: git-owner@vger.kernel.org Thu Apr 21 17:43:12 2016 Return-path: Envelope-to: gcvg-git-2@plane.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1atGl3-0001fU-NX for gcvg-git-2@plane.gmane.org; Thu, 21 Apr 2016 17:43:10 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753348AbcDUPnA (ORCPT ); Thu, 21 Apr 2016 11:43:00 -0400 Received: from pb-smtp2.pobox.com ([64.147.108.71]:62509 "EHLO sasl.smtp.pobox.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752751AbcDUPm6 (ORCPT ); Thu, 21 Apr 2016 11:42:58 -0400 Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id 6BE04131D0; Thu, 21 Apr 2016 11:42:56 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=S9P0ZmNbMB7SPBuzzg5xGhfqKZw=; b=eiiiCq Mf6GOEpO8GcWyQiEpXz5yMGBry9ryaJ4GB127gThnPrHmTPrhFTu8q+jsmhiMNmv ccpxN9lLZU9dBae9NqRBaMeHkxCTgEIB6IDwWd4y7MNRFp58pwbSOQ7Ain3POfZV WbO+6oVyszr8rbgDHlmjr8Hz5EUR1aohGiPic= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=iipSL4LZlb0pSY3V6ILqfXLs3bJRlxeK 3vXW39qUShagQPi9Lemlb779TNrYpYF8M1BoD/9K3ql0fav5/nKq2wYtnYeLhG2c Cm91UCOPdoMlY+CKInkbQbsdggvs4bORyg5aUM8OhIYf/JXv+uxCnaRdUAAJTngZ 9vT+rGQLO4A= Received: from pb-smtp2.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id 63CC5131CF; Thu, 21 Apr 2016 11:42:56 -0400 (EDT) Received: from pobox.com (unknown [104.132.0.95]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by pb-smtp2.pobox.com (Postfix) with ESMTPSA id B77F6131CE; Thu, 21 Apr 2016 11:42:55 -0400 (EDT) In-Reply-To: <20160421154058.GA9525@sigill.intra.peff.net> (Jeff King's message of "Thu, 21 Apr 2016 11:40:59 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-Pobox-Relay-ID: B76ECEEE-07D7-11E6-8245-D05A70183E34-77302942!pb-smtp2.pobox.com Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: Jeff King writes: > To me, the benefit is that you don't have to care about ignore_case. You > have asked to compare two paths, and any system-appropriate magic should > be applied. That may be icase, or it may be weird unicode normalization. > > I think the key thing missing is that this is only about _filesystem_ > paths. You would not want to use it for tree-to-tree pathname > comparisons. So maybe "fspath" or something would be more descriptive. Yup, I would be very happy with "fs" in the name.