X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=Documentation%2Flei-rediff.pod;h=4d5e8168bb38ed7491efb6199cf564e326c26566;hb=9b0c238f887475d920a8589b492ec15c63770152;hp=5fdde230ee24a53f3792fa6ecd8d7a243a47449e;hpb=e3dd5c16289892f216ab14ed5217bd261a4c1717;p=public-inbox.git diff --git a/Documentation/lei-rediff.pod b/Documentation/lei-rediff.pod index 5fdde230..4d5e8168 100644 --- a/Documentation/lei-rediff.pod +++ b/Documentation/lei-rediff.pod @@ -15,26 +15,73 @@ the specified L options. This is useful if you want to change the display of the original patch (e.g., increasing context, coloring moved lines differently, or using an external diff viewer). +It relies on the contents of the .git directory of your current +project working tree. In other words, it works anywhere +L works. Otherwise, C<--git-dir=> may be specified +any number of times to add repositories to build blob data from. + =head1 OPTIONS -In addition to many L, the following options are -supported. +In addition to many L options (e.g. C<-W>, C<-w>, +C<-U $LINES>) the following options are supported: =over =item --stdin -Read message from stdin. +Read message from stdin. This is implicit if no arguments are given +and stdin is a pipe or regular file. + +For users of text editors and pagers capable of piping its +buffer to arbitrary commands, it is useful to pipe a patch email +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-quotes 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 imply L. =item --git-dir=DIR Specify an additional .git/ directory to scan. This option may be given multiple times. +Default: the output of C + =item --no-cwd Do not look in the git repository of the current working directory. +=item -q + +=item --quiet + +Suppress progress output. + =item -v =item --verbose @@ -66,7 +113,7 @@ The options below, described in L, are also supported. Feedback welcome via plain-text mail to L The mail archives are hosted at L -and L +and L =head1 COPYRIGHT