]> Sergey Matveev's repositories - public-inbox.git/commit
viewdiff: remove optional CR handling
authorEric Wong <e@yhbt.net>
Mon, 24 Feb 2020 07:33:27 +0000 (07:33 +0000)
committerEric Wong <e@yhbt.net>
Mon, 24 Feb 2020 18:30:12 +0000 (18:30 +0000)
commit41f34b29a850b987db36eb75aa3101f0eb540f1c
tree2ce666773bf6028a67ae4d909640a47d46bcf5f6
parentaf8434f5f729a541cf8c50dfcb7d96a413facd2b
viewdiff: remove optional CR handling

The only caller of `flush_diff' is `add_text_body', and that
already did CRLF conversion on the text part.  The regexps in
SolverGit still need to preserve CR, however, since that
actually applies patches (instead of rendering them), and we
need to preserve CRLF patches for CRLF files.
lib/PublicInbox/ViewDiff.pm