From 751df49e7db8ba770dff28fb701b31c57ca200e2 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 27 Sep 2021 04:59:31 +0000 Subject: lei rediff: add --drq and --dequote-only More switches which can be useful for users who pipe from text editors. --drq can be helpful while writing patch review email replies, and perhaps --dequote-only, too. --- Documentation/lei-rediff.pod | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'Documentation') diff --git a/Documentation/lei-rediff.pod b/Documentation/lei-rediff.pod index f34e946f..e711de97 100644 --- a/Documentation/lei-rediff.pod +++ b/Documentation/lei-rediff.pod @@ -38,6 +38,33 @@ to C before piping it to L. The output of C is compatible with C if its input was a patch email. +=item --drq[=COUNT] + +De-Re-Quote. De-quote the input and re-quotes (the output). +Removes COUNT levels of C > email reply prefixes and +re-adds them upon regenerating the diff. + +This switch is intended as a convenience for running inside a +pipe-capable text editor when writing replies to a patch email. +Note: this may over-add C > prefixes if some input lines +are missing C > prefixes. + +COUNT is 1 if unspecified; in other words, C<--drq=1> and +C<--drq> are equivalent. + +It implies L unless L is specified +since text editors tend to combine stderr with stdout. + +=item --dequote-only[=COUNT] + +Like L, but does not re-add quote prefixes to the output. + +This can be useful for feeding a hunk to L +or L while writing a reply or further processing +by another diff viewer. + +Unlike L, it does NOT implies L. + =item --git-dir=DIR Specify an additional .git/ directory to scan. This option may be -- cgit v1.2.3-24-ge0c7