Convert raw diff file to colorized html output

后端 未结 6 1180
佛祖请我去吃肉
佛祖请我去吃肉 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:24

    The best option for me is aha (Ansi HTML Adapter - https://github.com/theZiz/aha)

    $ svn diff | colordiff | aha > /tmp/diff.html
    

提交回复
热议问题