]> Sergey Matveev's repositories - public-inbox.git/blob - Documentation/lei-rediff.pod
c7db6c1e20b66dc8124fa06f5ad352270585a035
[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.  This is implicit if no arguments are given
28 and stdin is a pipe or regular file.
29
30 =item --git-dir=DIR
31
32 Specify an additional .git/ directory to scan.  This option may be
33 given multiple times.
34
35 =item --no-cwd
36
37 Do not look in the git repository of the current working directory.
38
39 =item -v
40
41 =item --verbose
42
43 Provide more feedback on stderr.
44
45 =back
46
47 The options below, described in L<lei-q(1)>, are also supported.
48
49 =over
50
51 =item --[no-]remote
52
53 =item --no-local
54
55 =item --no-external
56
57 =item --no-import-remote
58
59 =item --torsocks=auto|no|yes, --no-torsocks
60
61 =item --proxy=PROTO://HOST[:PORT]
62
63 =back
64
65 =head1 CONTACT
66
67 Feedback welcome via plain-text mail to L<mailto:meta@public-inbox.org>
68
69 The mail archives are hosted at L<https://public-inbox.org/meta/>
70 and L<http://4uok3hntl7oi7b4uf4rtfwefqeexfzil2w6kgk2jn5z2f764irre7byd.onion/meta/>
71
72 =head1 COPYRIGHT
73
74 Copyright 2021 all contributors L<mailto:meta@public-inbox.org>
75
76 License: AGPL-3.0+ L<https://www.gnu.org/licenses/agpl-3.0.txt>
77
78 =head1 SEE ALSO
79
80 L<lei-q(1)>, L<lei-blob(1)>, L<lei-p2q(1)>