3 lei-rediff - regenerate a diff with different options
7 lei rediff [OPTIONS] LOCATION [LOCATION...]
9 lei rediff [OPTIONS] (--stdin|-)
13 Read a message from C<LOCATION> or stdin and regenerate its diff with
14 the specified L<git-diff(1)> options. This is useful if you want to
15 change the display of the original patch (e.g., increasing context,
16 coloring moved lines differently, or using an external diff viewer).
18 It relies on the contents of the .git directory of your current
19 project working tree. In other words, it works anywhere
20 L<git-am(1)> works. Otherwise, C<--git-dir=> may be specified
21 any number of times to add repositories to build blob data from.
25 In addition to many L<git-diff(1)> options (e.g. C<-W>, C<-w>,
26 C<-U $LINES>) the following options are supported:
32 Read message from stdin. This is implicit if no arguments are given
33 and stdin is a pipe or regular file.
35 For users of text editors and pagers capable of piping its
36 buffer to arbitrary commands, it is useful to pipe a patch email
37 to C<lei rediff> before piping it to L<git-am(1)>. The output
38 of C<lei rediff> is compatible with C<git am> if its input was a
43 Specify an additional .git/ directory to scan. This option may be
46 Default: the output of C<git rev-parse --git-dir>
50 Do not look in the git repository of the current working directory.
56 Suppress progress output.
62 Provide more feedback on stderr.
66 The options below, described in L<lei-q(1)>, are also supported.
76 =item --no-import-remote
78 =item --torsocks=auto|no|yes, --no-torsocks
80 =item --proxy=PROTO://HOST[:PORT]
86 Feedback welcome via plain-text mail to L<mailto:meta@public-inbox.org>
88 The mail archives are hosted at L<https://public-inbox.org/meta/>
89 and L<http://4uok3hntl7oi7b4uf4rtfwefqeexfzil2w6kgk2jn5z2f764irre7byd.onion/meta/>
93 Copyright 2021 all contributors L<mailto:meta@public-inbox.org>
95 License: AGPL-3.0+ L<https://www.gnu.org/licenses/agpl-3.0.txt>
99 L<lei-q(1)>, L<lei-blob(1)>, L<lei-p2q(1)>