From mboxrd@z Thu Jan 1 00:00:00 1970 From: Junio C Hamano Subject: Re: [PATCH v10.1 7/7] bisect: allow any terms set by user Date: Fri, 26 Jun 2015 15:25:50 -0700 Message-ID: References: <1435351183-27100-1-git-send-email-Matthieu.Moy@imag.fr> Mime-Version: 1.0 Content-Type: text/plain Cc: git@vger.kernel.org, Antoine Delaite , Louis Stuber , Michael Haggerty To: Matthieu Moy X-From: git-owner@vger.kernel.org Sat Jun 27 00:26:00 2015 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 1Z8c4N-0005Cq-2N for gcvg-git-2@plane.gmane.org; Sat, 27 Jun 2015 00:25:59 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752488AbbFZWZy (ORCPT ); Fri, 26 Jun 2015 18:25:54 -0400 Received: from mail-ig0-f181.google.com ([209.85.213.181]:32949 "EHLO mail-ig0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752175AbbFZWZw (ORCPT ); Fri, 26 Jun 2015 18:25:52 -0400 Received: by igtg8 with SMTP id g8so11212190igt.0 for ; Fri, 26 Jun 2015 15:25:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=tO9hGgQQZF9tYLe5agY2PMldG3aPSU/GI8TXHT1RAUg=; b=wmaLb++OCRIOlnovE86XGgTQb1BY76bQ52DmcNlq4UgsTH7/2kyq4RSq9V760xrYd3 c2X3iKpmPIhKs1cabM2IjmJyH6iCPEpWZsF1trh6Z7ywOnFha1Sp+WEkqIYUWJWEC9HH KHpo9sAq31FWDgyYIBJaL2v/+jqYESAvz6DzwOJVhjxBEOQBXfOjDG+O4QR6ByvZDjdX crZUhb139tBWUGBLo+DO/j05XlMaYSeOyqwa6F5wAv46vHkgiZmCcyp/9oBpBjPosYk/ EzYO9qH4GkXHnycCneN5jQQ+O/N4Qs0izFIbdyB7XD6vNToUziEZNQeVOlpfC2zmrfBq 8RUg== X-Received: by 10.107.12.72 with SMTP id w69mr5474061ioi.10.1435357552090; Fri, 26 Jun 2015 15:25:52 -0700 (PDT) Received: from localhost ([2620:0:10c2:1012:6587:7c7a:db33:ca35]) by mx.google.com with ESMTPSA id a82sm22442563ioe.22.2015.06.26.15.25.51 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 26 Jun 2015 15:25:51 -0700 (PDT) In-Reply-To: <1435351183-27100-1-git-send-email-Matthieu.Moy@imag.fr> (Matthieu Moy's message of "Fri, 26 Jun 2015 22:39:43 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: Matthieu Moy writes: >> Matthieu Moy writes: >> >>> + git bisect terms >> >> I think this is the other way around. > > Indeed. I hate to be saying this, but this is a strong indication that consistency with "start $bad $good..." must be broken. If the person who has been working on this topic for a few iterations in the past few days cannot get it right, no ordinary user can. With or without a mnemonic hint "N comes before O, so does B before G". Of course we cannot just say "git bisect terms old new". That would only invite "eh, I do not remember, which between terms and start take the old one first?" without helping people. The best I can come up with is to forbid positional arguments to this subcommand and always require them to be given like so: git bisect terms --old=fast --new=slow git bisect terms --new=slow --old=fast We may want to start supporting git bisect start --new=master --old=maint while at it and then gently nudging people to stop using git bisect start master maint by showing depreation notice.