You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
diff: bypass diff process with --no-ext-diff and in format-patch
Make --no-ext-diff disable diff.<driver>.process in addition to
diff.<driver>.command. The two mechanisms serve the same purpose
(external diff tools), so a single flag should control both.
Replace the OPT_BOOL for --ext-diff with an OPT_CALLBACK that
sets both allow_external and the new no_diff_process flag, keeping
the option's user-facing behavior unchanged while extending it to
cover the diff process. Passing --ext-diff explicitly clears
no_diff_process, so a later --ext-diff overrides an earlier
--no-ext-diff.
Disable the diff process unconditionally in format-patch so that
generated patches are always based on the builtin diff algorithm
and can be applied reliably by recipients who do not have the
external tool.
Document that --diff-algorithm also bypasses the diff process,
since it sets ignore_driver_algorithm which diff_process_fill_hunks
already checks.
Signed-off-by: Michael Montalbo <mmontalbo@gmail.com>
0 commit comments