Fixed feature #2407
with '#' will be ignored, and an empty message aborts the commit.