summaryrefslogtreecommitdiffstats
path: root/docs/submittingpatches.html
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2017-09-15 17:10:57 +0000
committerEric Engestrom <[email protected]>2017-09-17 00:21:31 +0100
commit81557af63b421310a5cfdc06da0c0479248866fc (patch)
treeac6dbf9d09adcd367db0d53e7a167af2f7b4cf8e /docs/submittingpatches.html
parent969537d9358bfaff2ddd8e27f4ea4ca3c4063d75 (diff)
docs/submittingpatches: add 'test each commit' instructions
Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Thomas Helland <[email protected]>
Diffstat (limited to 'docs/submittingpatches.html')
-rw-r--r--docs/submittingpatches.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/submittingpatches.html b/docs/submittingpatches.html
index ecf9590a951..0581391b295 100644
--- a/docs/submittingpatches.html
+++ b/docs/submittingpatches.html
@@ -151,6 +151,18 @@ Whenever possible and applicable, test the patch with
to check for regressions.
</p>
+<p>
+As mentioned at the begining, patches should be bisectable.
+A good way to test this is to make use of the `git rebase` command,
+to run your tests on each commit. Assuming your branch is based off
+<code>origin/master</code>, you can run:
+<pre>
+$ git rebase --interactive --exec "make check" origin/master
+</pre>
+replacing <code>"make check"</code> with whatever other test you want to
+run.
+</p>
+
<h2 id="mailing">Mailing Patches</h2>