Fixed issue #1979: Comments are not stripped from commit message