@@ -494,3 +494,9 @@ modifying defaults for some of these flags.
``-e ENROLL_BASE, --enroll ENROLL_BASE``
Enrolls your current branch to be b4-prep managed. Requires the name
of the branch to use as the fork-point tracking base.
+
+``--range-diff-opts RANGE_DIFF_OPTS``
+ Additional arguments passed to ``git range-diff`` when comparing series with
+ ``--compare-to``. For example::
+
+ b4 prep --compare-to v1 --range-diff-opts "--creation-factor=80 --no-dual-color"
@@ -42,6 +42,11 @@ Optional flags
Compares two mbox files prepared by ``b4 am`` instead of querying
the public-inbox server directly.
+``--range-diff-opts RANGE_DIFF_OPTS``
+ Additional arguments passed to ``git range-diff``. For example::
+
+ b4 diff --range-diff-opts "--creation-factor=80 --no-dual-color" <url>
+
``-o OUTDIFF, --output-diff OUTDIFF``
**(DEPRECATED)** Sends ``range-diff`` output into a file. You should use
``-n`` instead and redirect output from the actual ``git range-diff``
This argument allows adding options to `git range-diff`. Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> --- docs/contributor/prep.rst | 6 ++++++ docs/maintainer/diff.rst | 5 +++++ 2 files changed, 11 insertions(+)