=head1 NAME lei-rediff - regenerate a diff with different options =head1 SYNOPSIS lei rediff [OPTIONS] LOCATION [LOCATION...] lei rediff [OPTIONS] (--stdin|-) =head1 DESCRIPTION Read a message from C or stdin and regenerate its diff with 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 options (e.g. C<-W>, C<-w>, C<-U $LINES>) the following options are supported: =over =item --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 --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 Provide more feedback on stderr. =back The options below, described in L, are also supported. =over =item --[no-]remote =item --no-local =item --no-external =item --no-import-remote =item --torsocks=auto|no|yes, --no-torsocks =item --proxy=PROTO://HOST[:PORT] =back =head1 CONTACT Feedback welcome via plain-text mail to L The mail archives are hosted at L and L =head1 COPYRIGHT Copyright 2021 all contributors L License: AGPL-3.0+ L =head1 SEE ALSO L, L, L