Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 397 Bytes

Readme.md

File metadata and controls

14 lines (11 loc) · 397 Bytes

diff2html

This is a simple tool written in python to covert git diff output into HTML with split view of the changes.

Usage

Redirect output of the git diff through a pipe into python script:

$ cat diff.patch | diff2html.py

If you want the script to output to file instead of dumping HTML into terminal use -f option as such:

$ cat diff.patch | diff2html.py -f