Handle empty commits.
Merge pull request #26 from jakewins/patch-1

Handle empty commits.