Merge pull request #2361 from chillitom/master

fix crash when commit messages contain negative percentages like "-45%"