From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS31976 209.132.180.0/23 X-Spam-Status: No, score=-5.6 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD shortcircuit=no autolearn=ham autolearn_force=no version=3.4.0 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by dcvr.yhbt.net (Postfix) with ESMTP id 424CE2070F for ; Mon, 19 Sep 2016 18:22:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932392AbcISSWF (ORCPT ); Mon, 19 Sep 2016 14:22:05 -0400 Received: from pb-smtp1.pobox.com ([64.147.108.70]:56254 "EHLO sasl.smtp.pobox.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932237AbcISSWE (ORCPT ); Mon, 19 Sep 2016 14:22:04 -0400 Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 0DF7B3F8AB; Mon, 19 Sep 2016 14:22:03 -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=zvWLutKCSjs950Jsci5XOXbamMk=; b=wkURcg wJddLsYPuk6KSFKjT5IogjJfmR27ig9rZnNdXa96znMh8+a9FBU2P3eBVN2jCTfr HQS8B1ohC20QfvT6mWXrjEHiTqXfltrOW56QtyiWvzwJd9Py54JaV4wEg882oNxG XTOg4103q787DAaimbmc5g6857WU/qRRYEkLE= 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=b/afECzU5+aAAC+rOKUDxkLPLChXY3HJ rQn8TFsKmz/8DRWdscHPxPqsZ2tjOsPq6JFDlnHW+iEq+6HS9WDpukkes4qDSutG cCkm+ZiKxZuHVMrW7bIvP0JzGVuDoeDT4YV32rS5ow8H7F71wzFSQuX2/FGfTBrc MkNA09bN9C0= Received: from pb-smtp1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 05E663F8AA; Mon, 19 Sep 2016 14:22:03 -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-smtp1.pobox.com (Postfix) with ESMTPSA id 7D1993F8A9; Mon, 19 Sep 2016 14:22:02 -0400 (EDT) From: Junio C Hamano To: Brandon Williams Cc: git@vger.kernel.org, Heiko Voigt , =?utf-8?B?Tmd1?= =?utf-8?B?eeG7hW4gVGjDoWkgTmfhu41j?= Duy , Stefan Beller Subject: Re: [PATCH] ls-files: add pathspec matching for submodules References: <1474073981-96620-1-git-send-email-bmwill@google.com> Date: Mon, 19 Sep 2016 11:22:00 -0700 In-Reply-To: (Brandon Williams's message of "Mon, 19 Sep 2016 11:20:19 -0700") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Pobox-Relay-ID: F6162BBC-7E95-11E6-A4EA-096F12518317-77302942!pb-smtp1.pobox.com Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Brandon Williams writes: > Yes in that case it wouldn't have passed ps_strncmp()...but we should have never > made it there in the first place due to a piece of logic in match_pathspec_item: Ah, OK. Thanks for clarifying.