source helpers from `git squash`
Merge pull request #48 from ryan-williams/squash

source helpers from `git squash`