From: Junio C Hamano Subject: Re: RFC: git bisect should accept "paths-to-be-excluded" Date: Tue, 17 Sep 2013 13:47:07 -0700 Message-ID: References: <5236FBEA.80909@gmx.de> <1496b663-6b6c-45a2-95d1-cbe634b0d160@email.android.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Duy Nguyen , Christian Couder , Matthieu Moy , Toralf =?utf-8?Q?F=C3=B6rster?= , "git\@vger.kernel.org" To: Piotr Krukowiecki X-From: git-owner@vger.kernel.org Tue Sep 17 22:47:22 2013 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 1VM2B7-0003Cp-33 for gcvg-git-2@plane.gmane.org; Tue, 17 Sep 2013 22:47:21 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753343Ab3IQUrL (ORCPT ); Tue, 17 Sep 2013 16:47:11 -0400 Received: from b-pb-sasl-quonix.pobox.com ([208.72.237.35]:60574 "EHLO smtp.pobox.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752003Ab3IQUrJ (ORCPT ); Tue, 17 Sep 2013 16:47:09 -0400 Received: from smtp.pobox.com (unknown [127.0.0.1]) by b-sasl-quonix.pobox.com (Postfix) with ESMTP id 4F41743E03; Tue, 17 Sep 2013 20:47:09 +0000 (UTC) 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=D7w28MLMcY0PAjwB++Ms31vtYpk=; b=qcwh6M Q/zl5BVtYz1Bmt7P20k5p07XX/hfxKzwZwxwieeY5x9F16TtUqdrZqPcgBY3IWXS vnrh1uDE2oa2w8QuKBBC6CoUizha3asbJZMOU1Kpi7387GRF8cfpcpx7Myz400YZ yM3LbdWCvapQ/AZWXt6Mr7BCbbQ6dbM3RH/MA= 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=Z52VwFQdpHqShCkIRdRfgcuFk15DtdXB cwQKDSvVARwYi94ZaqO4B7l1Av3OwtylNLgw8+4NOOV6vkVJoQuzB2SYzB+7SCxt iwJtsRlSNO8yRXsDTPh0oXuyw+AB0arMpdorU4ok/ZrLz++zltKz1z1lNDRAjh1w B0Fg8jfhF2Y= Received: from b-pb-sasl-quonix.pobox.com (unknown [127.0.0.1]) by b-sasl-quonix.pobox.com (Postfix) with ESMTP id 3EBBE43E02; Tue, 17 Sep 2013 20:47:09 +0000 (UTC) Received: from pobox.com (unknown [72.14.226.9]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by b-sasl-quonix.pobox.com (Postfix) with ESMTPSA id 8D71A43DFF; Tue, 17 Sep 2013 20:47:08 +0000 (UTC) In-Reply-To: (Piotr Krukowiecki's message of "Tue, 17 Sep 2013 21:41:50 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) X-Pobox-Relay-ID: 51C9545C-1FDA-11E3-972D-CA9B8506CD1E-77302942!b-pb-sasl-quonix.pobox.com Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: Piotr Krukowiecki writes: > Ignoring (possible) inconsistency thing, I think they are easy to > understand and use. Probably you are right (in the sense that I do not offhand think of a confusing and ambiguous set of positive and negative pathspecs; others may find holes in my/our thinking). I am not sure if it will fit well to the current "struct pathspec" design, though. We could start from "when there is any negative pathspec, disable the 'optimize away the common leading prefix' thing", I guess.