From patchwork Wed Nov 9 12:34:33 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Vetter X-Patchwork-Id: 9419153 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id C979D601C0 for ; Wed, 9 Nov 2016 12:34:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BA5382926C for ; Wed, 9 Nov 2016 12:34:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AD5962926E; Wed, 9 Nov 2016 12:34:47 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RCVD_IN_SORBS_SPAM,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 1B8A62926C for ; Wed, 9 Nov 2016 12:34:46 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A8A896E68C; Wed, 9 Nov 2016 12:34:45 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-pf0-x242.google.com (mail-pf0-x242.google.com [IPv6:2607:f8b0:400e:c00::242]) by gabe.freedesktop.org (Postfix) with ESMTPS id 293CD6E68C for ; Wed, 9 Nov 2016 12:34:44 +0000 (UTC) Received: by mail-pf0-x242.google.com with SMTP id n85so125070pfi.3 for ; Wed, 09 Nov 2016 04:34:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=from:to:cc:subject:date:message-id; bh=xU7bbl/8b3gbEx1g2RBgvjF3Mh4lSc+gEB+HeyLWqTw=; b=e4Zo5eXHwqIg0mCGFJOtXSZL8TjS1BIH3/6Kpqc4whUV97mUBSdow/iYsAm9JDhURp 9PUo+mC5xSQIaAOvhUy9B5Dcs7IcgI/uPlbV2P2Bj6p3m+rJcnGbMkkXeU9MPWYC3243 6VlvHTOcEraFm1oIGm3/M99AdSFgtOfJPBzIk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=xU7bbl/8b3gbEx1g2RBgvjF3Mh4lSc+gEB+HeyLWqTw=; b=fSRboTxrw3n61ZjJNLoAeco5GDE+CvTL7x44zgh09GYxtE91dK9EkGzSkSPWpEzG1s MsJZ7t0F1MZRTGYFbqSF1Ufu4ywLlclrdZYKpvkhOlnJOblP4KqrvlEtEg1hxQPW8l91 Hm5pjCAanEY2vvowQQ2ruuzhD6a78VX8uMCSJSr6jKj6iDliUkGZDN7idbrLimESPw/A 1JFCIwDTRkL7aqLofAn4lKka2otitzjI2ouiiKAmZg5VJEmsqAkrXhPAztNKEc54PFpw V5R5w/OmEC16Tk6f+Gh8Sx0FfM1N70a5YGN1y3CVHGoiyWrJ0eHN7rs6xX9xLrVYWOai Mf/w== X-Gm-Message-State: ABUngvchHhi1T/OoWiMBLOMBfkFBOpAc8dMtyv+na1o2BzpeC4ynMNK2ucZ10anaPoM9ng== X-Received: by 10.98.74.18 with SMTP id x18mr32915753pfa.58.1478694883774; Wed, 09 Nov 2016 04:34:43 -0800 (PST) Received: from dvetter-linux.ger.corp.intel.com ([2a02:168:56b5:0:121d:c427:25b6:1d5c]) by smtp.gmail.com with ESMTPSA id qy2sm55764900pab.27.2016.11.09.04.34.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 09 Nov 2016 04:34:43 -0800 (PST) From: Daniel Vetter To: Intel Graphics Development Date: Wed, 9 Nov 2016 13:34:33 +0100 Message-Id: <1478694873-3954-1-git-send-email-daniel.vetter@ffwll.ch> X-Mailer: git-send-email 2.7.4 Cc: Daniel Vetter , Daniel Vetter , Rodrigo Vivi Subject: [Intel-gfx] [PATCH] qf: Document how to bisect the patch pile history X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Virus-Scanned: ClamAV using ClamSMTP Rodrigo recently asked me about this, and I totally failed to properly document it! Cc: Rodrigo Vivi Signed-off-by: Daniel Vetter --- qf | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/qf b/qf index 31b9f3bae0a2..883dda0a1668 100755 --- a/qf +++ b/qf @@ -540,6 +540,25 @@ $ qf git pull && qf checkout test Doing only a git pull on the quilt branch leads to an inconsitent state if the baseline changed. +Bisecting patch history +----------------------- + +Git history in the patches directory records every rebase or any other changes +to the patch pile, including the baseline. Which means it can be used for +bisecting not just the individual patches, but the history of the entire patch +pile: + +$ qf git bisect *old-sha1* *new-sha1* + +to start the bisect process, and then for each bisect step: + +$ qf checkout HEAD + +Run tests to figure out whether it's part of the new (bad) or old (good) +history, then tell git using + +$ qf git bisect new|old + COMMANDS ========