Convert raw diff file to colorized html output

后端 未结 6 1134
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-13 03:37

Does anyone know of a script that can accept a raw diff file and pretty print HTML output (which would be easier to review/mail)? A google search returned me some results li

6条回答
  •  一生所求
    2021-01-13 04:19

    You might be interested to cdiff, a term based tool to display side by side, incremental, and colorful diff, the design is exactly to take unified diff from stdin or revision controlled workspace.

    You can just send raw diff for review if your peer is using cdiff too.

    PS: I am the author of coderev and cdiff, I know cdiff is better in both design and quality :)

提交回复
热议问题