Project

purdypatch

0.0
No commit activity in last 3 years
No release in over 3 years
A tool for improving the format of git-format-patch emails, making them easier to review.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0
 Project Readme

Purdy Patch

This gem provides a purdypatch tool for improving the format of git-format-patch emails, making them easier for reviewers to read and reply to in a decentralized, email-based review system.

It uses the incredibly useful PrettyPatch formatter, which is used by the patch review system on bugs.webkit.org. The HTML emails it creates are nicely formatted in Mail for OS X, and make it easy to inline reply to individual lines of the patch.

To get started, run gem install purdypatch to install the tool.

Once you have purdypatch installed, here's a simple workflow for sending out a patch for review:

$ git format-patch --to="Doge <sohip@suchclass.com>" --attach HEAD~1
$ purdypatch *.patch

At this point, you'll have a .purdypatch file for each of the .patch files. You can edit them if you'd like to add any additional notes, and then you can send them out via email like so:

$ git send-email *.purdypatch

Enjoy.