allow empty commits, fixes #2
Merge pull request #3 from Swatinem/master

allow empty commits, fixes #2