From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Couder Subject: [PATCH 2/2] Documentation: describe how to "bisect skip" a range of commits Date: Mon, 1 Dec 2008 14:39:20 +0100 Message-ID: <20081201143920.994acd8d.chriscool@tuxfamily.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: git@vger.kernel.org, "H. Peter Anvin" To: Junio C Hamano , Johannes Schindelin , Johannes Sixt X-From: git-owner@vger.kernel.org Mon Dec 01 14:39:40 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 1L78zu-0003gu-Ix for gcvg-git-2@gmane.org; Mon, 01 Dec 2008 14:39:35 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751643AbYLANhs (ORCPT ); Mon, 1 Dec 2008 08:37:48 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751759AbYLANhs (ORCPT ); Mon, 1 Dec 2008 08:37:48 -0500 Received: from smtp2-g19.free.fr ([212.27.42.28]:42244 "EHLO smtp2-g19.free.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751566AbYLANhr (ORCPT ); Mon, 1 Dec 2008 08:37:47 -0500 Received: from smtp2-g19.free.fr (localhost.localdomain [127.0.0.1]) by smtp2-g19.free.fr (Postfix) with ESMTP id EACC312B70B; Mon, 1 Dec 2008 14:37:44 +0100 (CET) Received: from localhost.boubyland (gre92-7-82-243-130-161.fbx.proxad.net [82.243.130.161]) by smtp2-g19.free.fr (Postfix) with SMTP id 9007C12B6E5; Mon, 1 Dec 2008 14:37:44 +0100 (CET) X-Mailer: Sylpheed 2.5.0 (GTK+ 2.12.11; i486-pc-linux-gnu) Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: Signed-off-by: Christian Couder --- Documentation/git-bisect.txt | 21 ++++++++++++++++++++- git-bisect.sh | 2 +- 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/Documentation/git-bisect.txt b/Documentation/git-bisect.txt index 39034ec..147ea38 100644 --- a/Documentation/git-bisect.txt +++ b/Documentation/git-bisect.txt @@ -19,7 +19,7 @@ on the subcommand: git bisect start [ [...]] [--] [...] git bisect bad [] git bisect good [...] - git bisect skip [...] + git bisect skip [(|)...] git bisect reset [] git bisect visualize git bisect replay @@ -164,6 +164,25 @@ But computing the commit to test may be slower afterwards and git may eventually not be able to tell the first bad among a bad and one or more "skip"ped commits. +You can even skip a range of commits, instead of just one commit, +using the "''..''" notation. For example: + +------------ +$ git bisect skip v2.5..v2.6 +------------ + +would mean that no commit between `v2.5` excluded and `v2.6` included +can be tested. + +Note that if you want to also skip the first commit of a range you can +use something like: + +------------ +$ git bisect skip v2.5 v2.5..v2.6 +------------ + +and the commit pointed to by `v2.5` will be skipped too. + Cutting down bisection by giving more parameters to bisect start ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/git-bisect.sh b/git-bisect.sh index 58d6276..da92d1e 100755 --- a/git-bisect.sh +++ b/git-bisect.sh @@ -9,7 +9,7 @@ git bisect bad [] mark a known-bad revision. git bisect good [...] mark ... known-good revisions. -git bisect skip [...] +git bisect skip [(|)...] mark ... untestable revisions. git bisect next find next bisection to test and check it out. -- 1.6.0.4.837.g71a67