Commit Series with Phabricator

Mozilla is transitioning to Phabricator as the primary code review system for Firefox, and as a member of the team rolling this change out I’ve been using Phabricator for most of my development. I tend to do a lot of history rewriting before posting code for review, crafting a very intentional series of commits. The default behaviour of arcanist, Phabricator’s CLI, is to squash my beautiful commits into a single monstrous diff, but with a little configuration it is possible to have a nice workflow for reviewing a series of commits.

Read More

Colour Diffs for Everything

I diff a lot of text files while I’m working and for the most part I’m usually comparing files under version control, but that’s not always the case. Reading diffs in a format I’m used to makes things considerably easier to understand, so I need a simple way to generate unified diffs with colour between arbitrary files.

Read More