]> Sergey Matveev's repositories - public-inbox.git/blob - Documentation/lei-rediff.pod
init: allow arbitrary key-values via -c KEY=VALUE
[public-inbox.git] / Documentation / lei-rediff.pod
1 =head1 NAME
2
3 lei-rediff - regenerate a diff with different options
4
5 =head1 SYNOPSIS
6
7 lei rediff [OPTIONS] LOCATION [LOCATION...]
8
9 lei rediff [OPTIONS] (--stdin|-)
10
11 =head1 DESCRIPTION
12
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).
17
18 =head1 OPTIONS
19
20 In addition to many L<git-diff(1)>, the following options are
21 supported.
22
23 =over
24
25 =item --stdin
26
27 Read message from stdin.
28
29 =item --git-dir=DIR
30
31 Specify an additional .git/ directory to scan.  This option may be
32 given multiple times.
33
34 =item --no-cwd
35
36 Do not look in the git repository of the current working directory.
37
38 =item -v
39
40 =item --verbose
41
42 Provide more feedback on stderr.
43
44 =back
45
46 The options below, described in L<lei-q(1)>, are also supported.
47
48 =over
49
50 =item --[no-]remote
51
52 =item --no-local
53
54 =item --no-external
55
56 =item --no-import-remote
57
58 =item --torsocks=auto|no|yes, --no-torsocks
59
60 =item --proxy=PROTO://HOST[:PORT]
61
62 =back
63
64 =head1 CONTACT
65
66 Feedback welcome via plain-text mail to L<mailto:meta@public-inbox.org>
67
68 The mail archives are hosted at L<https://public-inbox.org/meta/>
69 and L<http://hjrcffqmbrq6wope.onion/meta/>
70
71 =head1 COPYRIGHT
72
73 Copyright 2021 all contributors L<mailto:meta@public-inbox.org>
74
75 License: AGPL-3.0+ L<https://www.gnu.org/licenses/agpl-3.0.txt>
76
77 =head1 SEE ALSO
78
79 L<lei-q(1)>, L<lei-blob(1)>, L<lei-p2q(1)>