[Pdx-pm] diff_painter.pl

Jeff Lavallee jeff at zeroclue.com
Thu Mar 10 09:55:08 PST 2011


Very cool.  I've been enjoying colordiff quite a bit lately, but the output from diff_painter.pl seems significantly better.  

Thanks!

On Mar 9, 2011, at 7:34 PM, Matthew Wickline wrote:

> Speaking of "worst useful hack", I was recently convinced to put this
> up on github.
>    https://github.com/wickline/diff_painter/blob/master/diff_painter.pl
> 
> Pipe diffs to diff_painter.pl and they look prettier.
> ...diff_painter.pl itself is very un-pretty.
> 
> unpainted:
>    http://wickline.org/diff_painter/exhibit_A.png
>    uh... some stuff changed
> 
> typical diff colorizer:
>    http://wickline.org/diff_painter/exhibit_B.png
>    uh... some stuff changed and now it's in color
> 
> piped to diff_painter.pl:
>    http://wickline.org/diff_painter/exhibit_C.png
>    holy painless code reviews, batman!
> 
> diffs are optimized for patch. Painted diffs are optimized for humans.
> Sometimes it messes up. Then you get "christmas barf".
> 
> Your coworkers will thank you if you share it with them. Also, share
> ack if you haven't yet.
>    http://betterthangrep.com/
> 
> -matt
> _______________________________________________
> Pdx-pm-list mailing list
> Pdx-pm-list at pm.org
> http://mail.pm.org/mailman/listinfo/pdx-pm-list



More information about the Pdx-pm-list mailing list