Skip to content

Instantly share code, notes, and snippets.

@kcmckell
Created July 3, 2014 12:44
Show Gist options
  • Select an option

  • Save kcmckell/40a1d61277e0b59c96b1 to your computer and use it in GitHub Desktop.

Select an option

Save kcmckell/40a1d61277e0b59c96b1 to your computer and use it in GitHub Desktop.
Output git log for each file to HTML
for x in `git diff --name-only FROMCOMMIT TOCOMMIT | awk '{print $1}'`; do git log --word-diff --color -U2 FROMCOMMIT..TOCOMMIT $x|tmp/ansi2html.sh > change/$x.html; done
@kcmckell
Copy link
Author

kcmckell commented Jul 3, 2014

ansi2html.sh can be found here: http://www.pixelbeat.org/scripts/ansi2html.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment