[Intel-gfx] [PATCH] qf: Document how to bisect the patch pile history

Daniel Vetter daniel.vetter at ffwll.ch
Wed Nov 9 12:34:33 UTC 2016


Rodrigo recently asked me about this, and I totally failed to properly
document it!

Cc: Rodrigo Vivi <rodrigo.vivi at intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter at intel.com>
---
 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
 ========
 
-- 
2.7.4



More information about the Intel-gfx mailing list